I have setup a LAMP server with CentOS. It will be used as a development server within our domain. It is our first Linux server and would like to actually put one into production in the future.
The DNS Domain Name for this server is webserv8.DOMAIN.com and has an internal IP assigned to it 10.64.3.55
I can get the first (http://webserv8.DOMAIN.com) host to host to work, but I cannot get the second virtual host (http://TESTSITE.webserv8.DOMAIN.com) to work.
Here is what I have in my vhost.conf file.
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin joe.****@DOMAIN.com ServerName webserv8.DOMAIN.com DocumentRoot /var/www/html/ ErrorLog /var/www/error/error.log CustomLog /var/www/error/access.log combined </Virtualhost> <VirtualHost *:80> ServerAdmin joe.****@DOMAIN.com ServerName TESTSITE.webserv8.DOMAIN.com DocumentRoot /srv/www/TESTSITE/public_html/ </Virtualhost>
Thank you for your help! Joe