1. | Back up your httpd.conf file, in case you make a mistake.
|
2. | Create the files located in this directory that contain the Apache required <VirtualHost> and <Directory> containers and directives.
|
3. | If each site has a dedicated IP address, then place the NameVirtualHost statements in the corresponding /etc/httpd/conf.d directory file. If it is shared, it'll need to remain in the main httpd.conf file.
|
4. | Remove the corresponding directives from the httpd.conf file.
|
5. | Restart Apache, and test.
|