# Rails Hosting Question

**URL:** <https://www.ruby-forum.com/t/rails-hosting-question/192144>\
**Category:** Rails\
**Created:** [July 24, 2010, 9:22pm UTC](https://www.ruby-forum.com/t/rails-hosting-question/192144 "2010-07-24T21:22:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonmorrison](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jasonmorrison](https://www.ruby-forum.com/u/jasonmorrison)\
**Post date:** [July 24, 2010, 9:22pm UTC](https://www.ruby-forum.com/t/rails-hosting-question/192144/1 "2010-07-24T21:22:11Z")

</div>

All,  
I’m a system administrator who has been tasked with learning to  
develop in Ruby and also deploying a development-\>production Ruby on  
Rails service for some internal applications.

Currenty, I’m using Redhat Enterprise, Ruby 1.8.7 and Rails 3.0 Beta 4  
on Phusion Passenger. I’ve followed the tutorials and have everything  
working. I’m able to go to [http://hostname.com:3000](http://hostname.com:3000) and all that jazz.

Here’s my question: In the LAMP stack, you can have your  
[http://hostname.com/app1](http://hostname.com/app1)  
and [http://hostname.com/app2](http://hostname.com/app2) and so on and they are obviously separate  
applications. This doesn’t appear to be the default in Rails. Can  
anyone give me some guidance or point me at some documentation which  
will allow me to configure my Rails instance to do something along  
these lines? If not that, then perhaps advise me on the best practices  
when dealing with this framework.

Many thanks.

Regards,

Jason Manous

---

<div class="post-metadata">

**Author:** ![jasonmorrison](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jasonmorrison](https://www.ruby-forum.com/u/jasonmorrison)\
**Post date:** [July 24, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/rails-hosting-question/192144/2 "2010-07-24T22:07:16Z")

</div>

Have a look at this:

[http://www.modrails.com/documentation/Users%20guide.html#deploying\_rails\_to\_sub\_uri](http://www.modrails.com/documentation/Users%20guide.html#deploying_rails_to_sub_uri)

–  
miles
