Topic: Login Question

so i went to basecamp and i created an account, and i got my own login page:

so my question is, how do they programmatically create my own domain in rails?  i'm fairly new to rails and need this functionality for a project i am working on, and i cannot for the life of me figure out how this is being done.  are they copying several instances of the same code base to several sub-domains or is this like one login page that redirects to a main hosted source.  i have no clue, but i would really like to know.

any help any one can provide would be greatly appreciated!!!!

Re: Login Question

There are many ways to do this. Have a look at the following links: … s-in-rails … -explained

You can also purchase a SaaS rails kit from if you aren't up to creating your own. Their stuff is good stuff. smile