Domain alias to Red Hat OpenShift application

After creating an OpenShift application, the application is published as http://appsname-namespace.rhcloud.com , which is quite lengthy and not easy to remember.

You can now set a meaningful domain names for your OpenShift applications so that you can have your own name instead of rhcloud.com.

How to set domain alias for Red Hat OpenShift application?

At the OpenShift client tool, run the command rhc app add-alias to create these alias:

# rhc app add-alias -a appsname –alias “www.yourdomainname.com”

After that, login to your domain registrar, add a CNAME record for the domain. For example, associated a domain name ‘www.yourdomainname.com’ to the OpenShift application ‘appsname-namespace.rhcloud.com’.

Domain alias to Red Hat OpenShift application

I’m begin to learn PaaS. Red Hat OpenShift platform provides a very good opportunies to move your applications to PaaS cloud.

Posted in Linux Tagged with: , ,

Leave a Reply