Two wordpress sites in one droplet

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?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Accepted 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:

And this one for LAMP stack on Ubuntu 18.04:

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

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.