Question

Two wordpress sites in one droplet

Posted April 4, 2020 276 views
WordPress

I currently have two droplets and one-click wordpress installed in each one. But, I want to have them in one droplet because the traffic is low. What’s the easiest way I can do that smoothly? Is there any serious disadvantage of this and in the future can I do the vice versa?

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

Hello, @rem3n

You can achieve this by either adjust the configuration of your current droplet (by modifying the Apache virtual host files and etc) or spin up a new droplet and configuring LAMP or LEMP stack (Linux, Apache/Nginx, PHP, MySQL).

You can check this tutorial for LEMP stack on Ubuntu 18.04:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04

And this one for LAMP stack on Ubuntu 18.04:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04

Also if you’re interested in using Docker in order to set this you can check this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-dockerise-and-deploy-multiple-wordpress-applications-on-ubuntu

Basically the easiest process will be the one that you’re most familiar with. If you’re used to Apache then use Apache, if not then using Nginx will make the server configuration easier for you. My advise will be to make the initial configuration as simple as possible, because you can always add more features and upgrade your system with new tools and etc.

Hope this helps!

Regards,
Alex

by O.S. Tezer
In this DigitalOcean article, using the Docker Linux Container Engine, we learn how to package and contain WordPress applications on Ubuntu cloud servers and discover the most simple and secure way of deploying multiple WordPress sites on a single host.
Submit an Answer