If you have a domain maindomain then you got to do whatever you need
within that domain.
How can you use other's domain?you can use subdomain on your
maindomain but xyz is some other domain.
You can't use that to redirect to your domain by anyway.

On Aug 24, 6:33 pm, Abhishek shukla <[email protected]> wrote:
> Hello Friends,
>  Just wanted to know how can i execute the following task
>
> My requirement is
>
> 1. Let say the main domain iswww.maindomain.com
> 2. And a subdomain is e.g. xyz.maindomain.com and Every subdomain have a
> correspondence domain store in DB. so that user can access a site using that
> domain as well.
>  For e.g let say there is a subdomain xyz.maindomain.com and this can be
> access usingwww.xyz.com
>
> So just wanted to know its need to be configured in .htaccess file or i'll
> need to configure something else?
>
> NOTE: the subdomain will be dynamic.
>
> Thanks
> Abhis
--~--~---------~--~----~------------~-------~--~----~
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