For expandibility and ease of support, I recommend not using the /var/www/html directory and create a directory like /web (base directory) and /var/web (log files) and using it for all of the domains you wish to house/support.
Under your /etc/httpd/conf, modify the httpd.conf and add the following line at the end:
Include /etc/httpd/conf/virthosts.
Then under the same /etc/httpd/conf directory, create a file called virthosts.conf and fill in the information provided below.
Main Topics
Browse All Topics





by: mwecomputersPosted on 2008-10-16 at 20:54:50ID: 22737674
Do you want the server to act as a DNS server plus a web server or just have the Apache instance be able to handle DNS lookup names and point them to the correct directory structure (i.e. virtual hosts)?