Question

How to multiple rails app on Digital Ocean?

Posted January 3, 2014 4.5k views
Hello, I found very interesting application to install rails with just one click. But wanted to know a way to use multiple rails applications on a server. Any help? 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.

1 answer
If you want to host multiple domains on one droplet, you'd have to create additional nginx/unicorns configs for each app, you'd also have to launch a separate unicorn process that listens on another port (not 8080) for each additional app so you will need a separate service to launch the second process.

The easiest way would be creating a separate droplet for the second app.
Submit an Answer