Question

Host multiple domain on the centos

Posted July 24, 2015 12.5k views
Apache Networking

Hi
I am not able to host another domain “wordpresswala.in” on my droplet . Please help me .

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

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

by Josh Barnett
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.
Submit an Answer