Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .