I want users to have their own landing pages: http://username.domain.com. Since this is dynamic (any user will have a subdomain), is there a way to do this without creating a DNS record for each of them? Can you DNS records be dynamic? -- Austin Govella Thinking & Making: IA, UX, and IxD http://thinkingandmaking.com austin.govella-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 24 Aug 2006, at 02:49, Austin Govella wrote:> > I want users to have their own landing pages: http:// > username.domain.com. > > Since this is dynamic (any user will have a subdomain), is there a way > to do this without creating a DNS record for each of them? > > Can you DNS records be dynamic?I''m not 100% sure whether this will work with subdomains but there is request.host and that might do the trick. Alastair ------ Alastair Moore Standards compliant web development with Ruby On Rails, PHP and ASP www.kozmo.co.uk 07738 399038 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Austin, You need to add a CNAME/ALIAS record to your DNS that redirects *.mydomain.com to mydomain.com. Cheers, Brett On 8/24/06, Austin Govella <austin.govella-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I want users to have their own landing pages: http://username.domain.com. > > Since this is dynamic (any user will have a subdomain), is there a way > to do this without creating a DNS record for each of them? > > Can you DNS records be dynamic? > > > > -- > Austin Govella > Thinking & Making: IA, UX, and IxD > http://thinkingandmaking.com > austin.govella-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---