Multiple Rails apps on DigitalOcean Rails app

November 8, 2013 4.5k views
Hello, i got a server with "1-Click Install Ruby on Rails" and it is beautiful. But i dunno how to setup more than one rails application. Any help? I already searched for tutorials on google and found nothing related =/ Thanks in advance
1 comment
2 Answers
If you want to host multiple domains on one droplet, you'd have to create additional nginx/unicorns configs for each domain, you'd also have to launch a separate unicorn process that listens on another port and not 8080 for each domain so you will need a separate service to launch the second process.

See https://www.digitalocean.com/community/articles/how-to-1-click-install-ruby-on-rails-on-ubuntu-12-10-with-digitalocean
Have another answer? Share your knowledge.