Routing

Hi all,

My site uses subdomains to define an item. Eg http://itemname.mysite.com
I fetch the itemname and render the appropriate site from that
itemname. The subdomain is used everywhere (eg
http://itemname.mysite.com/events,
http://itemname.mysite.com/products/show/11, …)

I now want to give the user the possibilty to use a ‘real’ domain like
www.itemname.com that should result in the same site as
http://itemname.mysite.com
. When the user goes to www.itemname.com I don’t want to redirect him
to http://itemname.mysite.com. I want to use the ‘real’ domain (eg
http://www.mysite.com/products/show/11 should be the same as
http://itemname.mysite.com/products/show/11).

Is this possible?

Many thanks in advance
Stijn

hi tarscher, i think it depends on dns routing (ie bind) not on rails.