Best Way to redirect a site


#1

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.


#2

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