Welcome Guest | Login

dynamic subdomains on my app

hi,

Lets say my rails app is divided into projects, such as www.mydomain.com/projects/1/articles/22

And then lets say I've allowed (unique) project names to be used instead of numbers such as www.mydomain.com/projects/foo/articles/22

Now, what I really want to do is make the project look like a subdomain, so in fact it'd look like
foo.mydomain.com/articles/22 etc

And when a user signs up a new project, the app will automatically recognize bar.mydomain.com without DNS propagation or restarting the server.

Can I do this on your hosting service? If so, how? :)

2007-09-20 08:40 PM

Are you meaning that the app should automatically create sub-domains for users that subscribe on my website ?
If yes, I'm sorry but I think we've yet to find a work around for this.  

2007-09-20 09:24 PM

Further research shows I need to ask you guys to enable "wildcard subdomains" on my account. e.g. http://wiki.rubyonrails.org/rails/pages/HowToUseSubdomainsAsAccountKeys

2007-09-20 09:31 PM

Hello,

We have set the wildcard for your domain in http configuration. Now you you need to make the required changes at the nameserver for the wildcard to work.

2007-09-20 10:49 PM

HostingRails Support
hi, can you update us your progress so far? i'm also wanting to do this for my rails app for a long time.

2007-09-23 12:00 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!