Hello All,
I have a CentOS 6 Server where I am attempting to configure VirtualHost. Here is what I have:
Default Server:
Address: Any
Port: Any
Server Name: Automatic
Document Root: /var/www/html
Virtual Server SSL:
Address: Any
Port: 443
Server Name: Automatic
Document Root: /var/www/html
Virtual Server 1:
Address: Any
Port: 80
Server Name: home.domainname.com
Document Root: /home/home.domainname.com/www/
The first two come out of box. The problem is as soon as I add "Virtual Server 1" information the server defaults it to "Default Server" and does not show anything in the "home/home.domainname.com/www/" directory. Here is the contents of the "/etc/httpd/conf/httpd.conf" file:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /home/home.domainname.com/www/
ServerName home.jetsupport.com
<Directory "/home/home.domainname.com/www/">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
Does anyone know what may be causing the issue?
Thanks,
Pete