Host multiple domain on the centos

July 24, 2015 1.2k views
Apache Networking

I am not able to host another domain "" on my droplet . Please help me .

1 Answer

You should define virtual hosts in your web server, Take a look at the following guides and choose which works for you:

How To Set Up Apache Virtual Hosts on CentOS 7

How To Set Up Nginx Server Blocks on CentOS 7

The Apache web server is extremely powerful and flexible, which is why it's the most popular way of serving web content. Apache can host multiple domains or interfaces on one server by splitting sites into separate virtual hosts. In this guide, we will walk you through how to set up Apache virtual hosts on a CentOS 7 VPS.
Have another answer? Share your knowledge.