Question

Multiple Rails apps on DigitalOcean Rails app

Posted November 8, 2013 6.2k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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
Submit an Answer