OpenShift URL Masking [closed] - openshift

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

Related

ipfs name publish does not publish to peerID [closed]

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 am trying to publish a file on my ipfs node. In order to do so I use the following commands:
ipfs add someFile.txt
// added <someHash> someFile.txt
ipfs name publish <someHash>
// Published to <notPeerID>: /ipfs/<someHash>
I get the weird behavior that ipfs name publish does not use the peerID to publish the file to. It is not the peerID ipfs id returns. Also does not look like a normal ipfs hash either, it does not start with 'Qm' but 'k'. Anyone have an idea what I could try to fix that?
As of go-ipfs 0.7, IPNS paths encode the key name as a base36 CIDv1 (k...) instead of base58 (Qm...).
You can read more about this here - there's a section on exactly this change: https://blog.ipfs.io/2020-09-24-go-ipfs-0-7-0/

How configure charles-proxy to work with chrome in linux [closed]

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 3 years ago.
Improve this question
I try setting the chrome proxy:
google-chrome --proxy-server=127.0.0.1:8888
Chrome opens a new window, but charles does not capture any.
Charles opens up a proxy usually at localhost:8888 (you can change it in the Proxy > Proxy settings... menu), so what you have to do is simply add this proxy server to your connections.
The best way to achieve that I've found is by installing the Proxy SwitchyOmega extension, configuring the proxy parameters as told before and switching manually whenever you want to track http requests.
It's not as easy as it is on windows but works fine for me.

why is there a sub-domain existing which I didn't create? [closed]

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 7 years ago.
Improve this question
I resigstered a new domain visitsoonvalley.com but now I can see that there is a sub-domain support.visitsoonvalley.com which I didn't create and I can't find in the cpanel too. This page is showing ads and the first advertisement is of the company that I registered my domain with. Is it possible that they created this sub domain? Are they allowed to do this without notifying me?
UPDATE: I just checked going to help.visitsoonvalley.com and same result. Why are these sub domains existing?!
You cannot register subdomains. You cannot really create them. You can only use them.
Most likely there is a "wildcard DNS resolution" for your domain. That would be something your provider has done and it actually does make some sense, since most people want that. Why don't you simply ask them? They will probably remove it from your DNS settings if you ask them.
A "wildcard DNS resolution" means that all DNS resolution requests to hostnames within your domain are resolved to the same IP address, without any specific rule existing. So it is a kind of "fallback".
Why there are ads shown in your page is nothing we can say. Might be some default content your provider puts in as a placeholder until you create content. Or they simply created a DNS resolution as a palceholder until you name an IP address the domain should be resolved to. Again: why don't you ask your provider? You pay them for their service, so usually that means the have to give support...
Certainly that is not exactly a "nice" behavior if that really is not mentioned anywhere in their policy. But on the other hand it does no harm and is only temporary...

Whireshark DNS makes additional queries when searching URL [closed]

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
An 101 question about whireshark:
I first flushed my DNS and then started capturing my interface with wireshark.
Then I opened google chrome and searched for a webpage.
Finally, wireshark except the first query about the url makes some additional queries for related names/urls.
for example :
Searched for www.aueb.gr and dns makes an additional query for art.aub.gr.
Why is this happening?
Thank you in advance.
Try using console application for DNS resolution (for example nslookup) during wireshark capture, it should give you exactly what you want. Web browsers or other applications can try to resolve some additional DNS entries, which may be the cause of the issue you are seeing.
For example:
nslookup www.aueb.gr
As for the behavior of chrome, web browsers will try to fetch additional resources (like images, cascading style sheets, scripts) in order to be able to display the web page correctly. If it happens that the resource is hosted in some other domain (like art.aueb.gr), the web browser will have to first resolve that domain name - and that is why you see additional DNS queries.

How to access two servers on one domain [closed]

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.