Naked domain with Openshift

南楼画角 提交于 2019-12-10 22:06:11

问题


One of the biggest issue I have faced with GAE cloud offering from Google is that it cannot handle naked domains.

It can handle subdomains www however not naked domains. This is a BIG problem, in that your app will not be able to handle PATH or Subdirectory from client request as it is stripped off during a DNS forward to a www subdomain for example.

So my question is, can Openshift handle naked domains? In that, a PATH or Subdirectory from client request would not be lost in translation.


回答1:


From what I remember DNS A-Records require a static IP address and Openshift online currently does not have the ability to assign a static IP to an app.




回答2:


The way I did it was to add DNS record

Hostname: *
Type: CNAME
Value: {my_web}.rhcloud.com

(did it in my domain console from iwantmyname)



来源:https://stackoverflow.com/questions/19946880/naked-domain-with-openshift

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