Topic: Rails top level domain names and subdomains


I wonder how to implement top level domain using rails.

I am working on a webapp that will allow the user to have a subdomain (by default it will be their username). Right now it is all set and working.

i.e. ""

What I am trying to do is, I want the user to have an option of using their own domain name bought somewhere else, instead of being a subdomain of "thewebapp".

Any Ideas, or suggestions? Or a link that points to a page that will help me understand things like this, better.

Thank You.

Last edited by kingpangilinan (2011-12-29 13:32:10)