Multiple rails apps in planet argon

Subscribe to Multiple rails apps in planet argon 5 posts, 3 voices

 
Avatar gbalaji 2 posts

Hi,

I am testing out with planet argon with shared hosting.

How can i run multiple rails application seperately.

Is there anyway to run if so can anyone post how to do it.

 
Avatar lanaer 28 posts

Do you mean having separate apps on multiple domains or sub-domains, or multiple apps on one domain? Both can be done, but doing it on one domain is harder. Also, how is your current app deployed?

 
Avatar Krishna 2 posts

Hi,

I am also interested in hosting multiple rails sites with my shared hosting account.

I’d like to have different apps running off different subdomains, with one app running on the main domain, eg:

labx0r.net → would have a rails app

experiment1.labx0r.net → would have another rails app running

...and so on.

At the moment I have nothing set up (brand new user), so any advice/recommendations on how best to organize the directory structure, would be appreciated.

Thanks.

Krishna

 
Avatar lanaer 28 posts

Krishna: I’d start here: http://docs.planetargon.com/Deployment

Go through the steps for setting up mongrel & nginx, and look at what it says for setting up nginx for multiple rails apps on separate domains.

 
Avatar Krishna 2 posts

Thanks for the heads up! Didnt realise that page applied for subdomains also.