How do I install a Wordpress blog on a droplet ($10) where is running a Rails app installed as a One-click apps?

Posted August 8, 2017 1.2k views
Ruby on RailsPHPWordPressUbuntu 16.04


I have a server where is running my Rails application. The droplet is located in LON1, the image installation is: Ubuntu Ruby-on-Rails on 16.04.

On my website, I want to have a Wordpress blog. I want to have it here:

What are the steps to do it? Is the $10 droplet enough for it? Do I need to install everything separately (PHP, Apache, MySQL etc.?) Cannot this affect the Rails app, that has the priority #1?

Thank you

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.

Submit an Answer
1 answer


To be on the safe side, before proceeding, make sure to create a Snapshot for your Droplet. After that, as you mentioned you need to install LAMP and then Wordpress. You can follow the steps on how to do that here:

In order to be able to run both services, you need to make sure that they are not running on the same port. For example if you already have your Ruby-on-Rails app running on port 80, Apache would not be able to start. To fix that what you could do is change the port that your Ruby-on-Rails app is running on a different port and then set up apache as a reverse proxy server to proxy the traffic to your rails app. Here’s how to do that:


by Mateusz Papiernik
In this tutorial, you will set up Apache as a reverse proxy using the `mod_proxy` extension to redirect incoming connections to underlying application server(s) running on the same network. There are instructions on setting up a simple web app using the Flask framework to show how Apache interacts with the real application hidden behind it, but you can also follow this tutorial using your existing application server, if you have one.