By rh21513
Hello,
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: website.com/blog.
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
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:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.