How can I make my naked domain to point to my Openshift application?
Can it be done in the Openshift online dashboard or it can only be configured through the rhc
utility? However I am not sure which the steps to do it.
How can I make my naked domain to point to my Openshift application?
Can it be done in the Openshift online dashboard or it can only be configured through the rhc
utility? However I am not sure which the steps to do it.
The answer was simple,
1) Add the Openshift DNS as A Record target.
2) Then add alias to the Openshift app like example.com
With that when example.com is accessed it will go to the app hosted in Openshift.
I think openshift.com has a blog post on this topic.
It's a two-step process:
CNAMES
, then and add one or moreCNAME
entries that point to the URL that OpenShift provided for your application (APPNAME-NAMESPACE.rhcloud.com or similar).rhc alias
command to let OpenShift know that you would like your application to be made available whenever a request is received via any of theCNAME
s configured in your DNS. This step can also be completed on the Web via your OpenShift app management dashboard.For example, if you had an OpenShift application named
wordpress
that you wanted available atwordup.com
, yourrhc alias
command might look like this:I wrote up a post to help answer this question here: https://www.openshift.com/blogs/domain-names-and-ssl-in-the-openshift-web-console
In order to have naked domain pointing to Openshift application follow link below.
https://stackoverflow.com/a/34390163/2532694