Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

When i ssh to amazon ec2, then


app_1 app_2 app_3 app_4

Considering i have mapped my ec2-122** address to some

How can i have multiple rails applications running like if i access, 

each of the application should be loaded.

One of my friends told he has implemented it for apache+php application, where various index.php files are present and each folder structure is independently available as separate running application.

How can i implement this for rails applications,

share|improve this question
Try asking this on Web Applications or ServerFault. – gertvdijk Dec 20 '12 at 14:26
up vote 0 down vote accepted

I solved this issued using apache + passenger, passenger comes with suburi where using symlink and some changes in the apache.conf for the virtual hosts, same domain name can be used to run multiple application. Documentation for reference

share|improve this answer

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.