Multiple Websites on a Single Droplet

Posted September 1, 2019 12.7k views
MySQLApachePHPWordPressUbuntu 18.04


I’m aware that this question has some detailed answers on many platforms including Digital Ocean Community, but the thing is, as far as I come along they are a bit
outdated currently (Please feel free to correct me as I would much appreciate it). There are 3 suggestions right now in the “Do any of these answer your question?” section and the closest date is from 4 years ago.

So, here’s my exact details about my situation;

I deployed a Ubuntu 18.04 droplet, installed Apache2 for web server, then installed MySQL and PHP. So it’s a LAMP stack.

I’ve used these following pages and they were great. Thanks to all of their authors.

I need to learn managing multiple wordpress sites in this droplet, each will have their own domains. Digital Ocean has a Wordpress tutorial in here ( which I also will follow along but since it doesn’t cover creating multiple sites, here’s my attempt to ask for resource advice.

Thank you and wish you all a great day.

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.

Submit an Answer
2 answers


You can host multiple websites on one droplet by adding multiple Apache Virtual Hosts.

Here’s a step by step article on how to do that:

Let me know if you have any questions.


by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.


So Ubuntu 16.04 tutorials are also valid for Ubuntu 18.04 , right?