Question
Can I use a single DigitalOcean Droplet to host multiple wordpress, node.js, and other apps
Hi,
Currently, I have several WordPress sites hosted with Bluehost and Node.js apps hosted with Heroku. I am also working on some Python development that will eventually need to be hosted. Generally, these sites and apps are very low traffic.
I would like to be able to manage these different sites/apps from a single location, as well as save on hosting costs.
Is this possible with DigitalOcean? Are there other options that you would recommend? Specifically:
- Can a single DigitalOcean droplet host sites/apps with different server-side languages (including full CMS’ like WordPress)?
- If yes, how difficult is this to configure and manage?
- Would this configuration translate to savings on hosting costs?
- Are there solutions other than DigitalOcean that would address this problem more effectively (Bluehost? AWS?) And does anyone have experience doing this with different services and the pros/cons of each?
Thank you for any answers, tips, recommendations, or links to useful resources!!
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.
×
Theres a reasonably useful guide below which tells you how to host multiple wordpress sites on one server. For other web apps, the princial is very much the same, you just use virtualhosts to direct traffic to the right location
https://www.digitalocean.com/community/tutorials/how-to-set-up-multiple-wordpress-sites-on-a-single-ubuntu-vps
This guide from Justin Ellingwood is for a much older version of Ubuntu. Is it safe to assume that the underlying principles are basically the same? Did anything important change in recent versions of Ubuntu, Wordpress, MySQL and/or Apache that one needs to take into account when following this guide?
I will experiment on my own and will circle back later with an update, but if anyone has any tips or warnings to keep in mind, I would love to hear them. Thanks!