How to Configure Apache Virtual Hosts on CentOS 7
- Step 1: Set Up Apache. Apache will be configured to host multiple sites out of the gate, so there is not much to do here. ...
- Step 2: Add Document Roots. We now need some domains to add to Apache. ...
- Step 3: Add Virtual Host Files. Now that we have sites to host, we need to tell Apache about them. ...
- Step 4: Test And Restart Apache.