DNS Entry for an OpenShift V3

拜拜、爱过 提交于 2019-12-11 04:57:58

问题


I've recently bought a domain name, and I'm trying to redirect this domain name to an OpenShift v3 web app. (It is my first time setting up things like this, so bear with my ignorance.) Normally, OpenShift provides a hostname, something like:

myapp-myproject.preview.openshiftapps.com

Based on conversation with support of my domain name registry company (not GoDaddy), I need to have some static IP from my Web Hosting provider to add to the DNS Entry or NameServer to link to my domain name (in my domain name account page). It looks like they don't have a clue that PaaS company like OpenShift don't provide a static IP for hosted Web applications.

What I did, is to get the above URL from OpenShift and add this DNS entry as CNAME type, which still didn't work.

Anyone here who has an idea, what I should get from OpenShift in order to tie my domain name and web app?


回答1:


The CNAME approach should be used. You don't need a static IP address in that case but would use the FQDN of the OpenShift ingress point. You then also need to expose the service in OpenShift via your FQDN and not let it use the generated one.

If you are using the OpenShift V3 developer preview though, I believe use of custom domains is not enabled. The only way I know to have custom host name with the developer preview is to use a proxy service in front.

BTW, do note that the developer preview only provides you a time limited account. You should not use it for real web sites.



来源:https://stackoverflow.com/questions/41760436/dns-entry-for-an-openshift-v3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!