Topic: Login Question

ok,
so i went to basecamp and i created an account, and i got my own login page:
mycompany.projectpath.com

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:

http://www.37signals.com/svn/posts/1512 … s-in-rails

http://www.robbyonrails.com/articles/20 … -explained

http://railscasts.com/episodes/123-subdomains

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

Boo.