Best Way to redirect a site

Best Way to redirect a site

Posted by: snowmaninthesun
Posted on: 2009-05-20 20:42:00

I have one ruby on rails application but multiple domains for this app. www.slangslang.com, www.slangasaur.us etc. I only need one application hosted in dreamhost, yet when someone visits from a different www address i want them to see the same content. What is the best way to do this ? CNAME redirect? Is it even possible?

(i.e. when someone goes to www.slangasaur.us you will still see www.slangasaur.us in your address bar, but the site will be rendering www.slangslang.com) This is how my former/current host does things but i can't figure out how to do it with dreamhost.

Re: Best Way to redirect a site

Posted by: bsander
Posted on: 2009-05-20 23:29:00

Have one domain mirror the other. Read about it here: http://wiki.dreamhost.com/Mirror_Domain

Tags: ruby on railsdreamhostcname