On Tue, Aug 25, 2009 at 11:58 PM, Abhishek shukla<[email protected]> wrote:

> I have two domain which in pointing to my rails application and a subdomain
> 1. www.xyz.com
> 2. www.xyz.info
> 3. example.xyz.com

Actually, no. You have three host names. "xyz.com" and "xyz.info"
are domain names. "example.xyz.com" /could/ be a subdomain, if
you have hosts within that subdomain like 'ren.example.xyz.com',
'stimpy.example.xyz.com'-- but I'm betting that's not the case.

> Now when the user access www.xyz.info the example.xyz.com page should
> open up but the address bar should be www.xyz.info.
>
> So is it possible to redirect?

Why don't you just alias (in DNS) one to the other?

And no, it's not possible to "redirect" and have the url in the address
bar remain the same.

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to