Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm just starting to give RoR a go (RoR3 to be precise), and I'm wondering about hosting. For PHP applications, it's easy to run multiple of them on the one site (eg. in different subdirectories, subdomains, or addon domains).

It seems that for RoR hosting, it is only ever one application per "server" - so for instance you can no longer install apps in subdirectories.

Is this assumption correct? What are the different ways rails apps are hosted?

Thanks guys :-)

share|improve this question
up vote 3 down vote accepted

No, this assumption is not correctly. There are several solutions to have a Rails application up and running. The right one really depends on the complexity of your project.

If you just need to learn how to use Ruby and you don't want to fight with all the sysadm tasks, then you can give Heroku a try.

If you want to go with your server, I strongly encourage you to check out Passenger. It's a Nginx/Apache module you can install to run a Rack (thus a Rails 3) application. And it supports multiple apps on the same server.

For a more technical overview, check out this question.

share|improve this answer
Thanks for that, very good answer. – balupton Dec 12 '10 at 20:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.