Can I use a single DigitalOcean Droplet to host multiple wordpress, node.js, and other apps

May 7, 2019 680 views
Control Panels Node.js Applications WordPress Python


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!!

  • 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

    by Justin Ellingwood
    WordPress is a popular content management system (CMS) that can be used to quickly launch blogs and websites. In this guide, we will discuss how to launch two separate blogs, each associated with their own domains, from one 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!

1 Answer

Yes, u can but some easier than others. I teach a full stack dev class and we set them up here on DO. I have used other services and am very happy with DO. There are tons of guides on deploying whatever u might imagine but some are better than others. Plus, many are geared for production deployments which I also did not need as I just use it for side projects and my Students are just wanting to share their work, so some overly complex.

I have non-large scale deployments down for Node.js/MERN/Django so if I can be of any assistance with any of those let me know. Especially if you might open a new account as u can use my referral code and do me a solid. ;-)

Oh and BTW, I saved a bundle by moving my stuff from Rackspace to here if that helps. For an independent hobbyist who just needed a VPS to deploy my pet projects and experiments, DO has been great!

Have another answer? Share your knowledge.