Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

my blog is running http://nooranibakerally-noor.rhcloud.com/ on openshift. I've bought a domain on godaddy as nooranibakerally.net. Now, I want to forward all request from http://nooranibakerally-noor.rhcloud.com/to http://nooranibakerally.net.

e.g. when reques http://nooranibakerally-noor.rhcloud.com/post1 is obtained, it forwards it to http://nooranibakerally.net/post1, i.e. http://nooranibakerally-noor.rhcloud.com/ never appears in the address bar.

is that possible?

share|improve this question

1 Answer 1

From http://www.davidsalter.com/2012/03/hosting-on-openshift.html

To publish to a custom domain, you need to add an alias in OpenShift for your application to the domain name you want it hosted at.

$ rhc-ctl-app -c add-alias --alias www.somedomain.com -a <appname>

To complete the process, you need to edit your DNS records and add a cname pointing your domain (e.g. www.somedomain.com) to -.rhcloud.com

share|improve this answer
ok, it works, thanks –  Noor Jul 27 '12 at 11:32
wonder why its not working now –  Noor Jul 27 '12 at 13:46
i added this www www.nooranibakerally-noor.rhcloud.com on my DNS manager –  Noor Jul 27 '12 at 13:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.