hi tarscher, i think it depends on dns routing (ie bind) not on rails.
On Nov 27, 4:04 pm, Tarscher
<tarsc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi all,
>
> My site uses subdomains to define an item. Eghttp://itemname.mysite.com
> I fetch the itemname and render the appropriate site from that
> itemname. The subdomain is used everywhere
(eghttp://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 likewww.itemname.comthat should result in the
same site ashttp://itemname.mysite.com
> . When the user goes towww.itemname.comI don''t want to redirect
him
> tohttp://itemname.mysite.com. I want to use the ''real''
domain (eghttp://www.mysite.com/products/show/11should be the same
ashttp://itemname.mysite.com/products/show/11).
>
> Is this possible?
>
> Many thanks in advance
> Stijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---