Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm trying to use openshift-acme to get proper certificates from Let's Encrypt for a nodejs app running in a Openshift 3.11 cluster.
https://github.com/tnozicka/openshift-acme
I don't know how to set this up in the route for the app. Could someone help me find the steps to make this work? How do I need to set upp Express in my app? Only listen to http or both http/https in Express? Do I need a key/certificate/pem-filen? I'm lost.
The easiest way to set this is up is to do nothing special in your Express application. Have it listen to HTTP, and then set up an OpenShift Route that points to your pod's Service. According to the docs for openshift-acme, you would annotate your route:
metadata:
annotations:
kubernetes.io/tls-acme: "true"
This will set up TLS termination at the route, so publicly, users of your application would see HTTPS, but then traffic from the router to your application would proceed as HTTP.
Alternatively, you can set up your route to do Passthrough, and mount the TLS secret key/certificate into your pod as a file, and read it into your Express application that way. This would let the router pass the traffic through transparently, and it would be HTTPS all the way to your application.
TLS termination is certainly the easiest option, but Passthrough is possible more thorough.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to make my database available on the internet so I hosted my database on Google Cloud Platform. With their instructions, I am able to connect with my public IP address to access the remote database with my MySQL Workbench & make request with the database public IP address.
However, I realize that my IP could change because public IP is different on every network, which may mean my database is stuck on the local computer environment. What should I do to make the database available to all networks? I want thrid party users to use my api to get data from my remote database.
I am not sure putting the server on the internet is what a developer supposed to do, just trying to get things out of localhost but I am very confused. Please help me :)
The problem (I think)
Public IP changes on different router, cutting off my database connection.
You can add all public-ip range into your "Authorized networks"
Add 0.0.0.0/0 as allowed CIDR for IPv4
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm running a private blockchain and I've been using Metamask connected to my custom RPC URL with no issues.. I'm curious if there's any other Ethereum wallet that let's you add and connect to a custom RPC URL.
Currently there are not that many wallets that allow to connect to random networks. MetaMask tends to be the only one.
Your best bet is to try here https://walletconnect.org/wallets - also some of the wallets are open source, so you can add this custom functionality to these wallets yourself.
I noticed when I opened Alphawallet iOS app, in the last month that a new Custom RPC function was available in the settings section.
I basically went to Settings, Active Networks, there's now a (+) button where I could insert the url for a custom rpc I was testing for interoperability of my token contracts on different networks (eth and polygon and the custom url). So you could try them? Not sure about private blockchains though.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
How can I get my OpenShift URL http://stats-lebronjamesstats.rhcloud.com/ to show as lebronjamesstats.com. I bought the domain name from Godaddy and setup forwarding and a CNAME record that has subdomain www point to stats-lebronjamesstats.rhcloud.com. I also ran the alias OpenShift commands:
rhc alias add stats lebronjamesstats.com
rhc alias add stats www.lebronjamesstats.com
I CAN'T do forward with masking because that breaks in browsers. Thanks for your help!
Dusty
Was able to get a cname record for www to point to my OpenShift url and then do forwarding from lebronjamesstats.com to www.lebronjamesstats.com WITHOUT masking. All HTTP request now resolve to www.lebronjamesstats.com. I could use a third party redirector to get lebronjamesstats.com to show in the URL box. I might pursue this later.
Basically you'll need to add an "alias" to your application via the rhc command line tool or through the web console. Here's two resources that will show you how to do that step by step:
https://www.openshift.com/blogs/domain-names-and-ssl-in-the-openshift-web-console
https://www.openshift.com/blogs/custom-url-names-for-your-paas-applications-host-forwarding-and-cnames-the-openshift-way
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm making a website using Apache as the web server. Would I have to register a domain with someone like godaddy? I don't want someone like godaddy hosting a website for me. I want to be in control of the server.
GoDaddy can, but does not have to control the domain itself.
When you register the domain name, you provide GoDaddy (or whichever registrar you choose) multiple "Name Server" addresses. These are the computer systems that will actually house your domain's information.
I use Amazon's Route 53 DNS server (http://aws.amazon.com/route53/) since I run my own web server, but you could run your own DNS server, or use your hosting provider's name servers.
The "Name Server" that you specify will maintain the details about your domain such as what IP handles email, name servers, a/cname records (sub-domains), etc...
In addition to GoDaddy, you could use Network Solutions (http://www.networksolutions.com), Dotster (http://dotster.com), Register.com (http://www.register.com), and if you google DNS Registrars, you'll find tons of them.
You could just buy the domain name from GoDaddy, or any other DNS provider.
You can host your own domain by pointing the nameservers to your own server!
Take a look at How to assign a domain name to your home web server.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Port 80 is forwarded to a server on my network which has links to the different projects I'm working on, how could I allow people to connect to the server running on my laptop when I'm using it? I would obviously not prefer to change my router settings frequently to port forward to my laptop. I want the user to access my domain and maybe have a set of links which will be described as static and another set which will have a description cautioning the user that said links will only work when I am online and they would somehow redirect to my laptop. (Lamp Server)
Well, if I understood correctly your question, you should configure your laptop as a reverse proxy for your main server.
As you said, you should have a set of links which will redirect to your laptop (via reverse proxy config), but of course these links will work only when your laptop is available.