How can I host two WordPress Website in one droplet

June 4, 2018 524 views
Apache WordPress Ubuntu 16.04

Hey guys,
I already have a droplet in which I have installed WordPress with the One-Click Apps feature of DigitalOcean but now, I want to host another WordPress website in that same droplet. Can you please help me set it up?

I have already searched a lot about it on Google and YouTube but I didn’t get what I was looking for.

1 Answer

Hello,

You can do that with Apache Virtual Hosts. You can follow this step by step guide on how to setup Apache Vhosts:

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

Regards,
Bobby

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.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!