i'm making a apache web server with two virtual host, i have a DNS Server caching-only on my other centos 6 minimal VM, the IP Address of my Apache Server is 192.168.1.9, when i try to browse that IP Address(192.168.1.9/index.html) on my test VM Windows XP, it display the content of the "index.html", but when i try to browse with the domain name, "http://domain1.com", "the connection has timed out".. same result when i try with my "domain2.com", it just the when i browse "192.168.1.9/index2.html", it doesn't display the content of my domain2 file..
<VirtualHost *:80> DocumentRoot /home/demo/public_html/domain1.com/public ServerName domain1.com ServerAlias www.domain1.com ErrorLog /home/demo/public_html/domain1.com/log/error.log CustomLog /home/demo/public_html/domain1.com/log/access.log common </VirtualHost> <VirtualHost *:80> DocumentRoot /home/demo/public_html/domain2.com/public ServerName domain2.com ServerAlias www.domain2.com ErrorLog /home/demo/public_html/domain2.com/log/error.log CustomLog /home/demo/public_html/domain2.com/log/access.log common </VirtualHost> is there something to do with DNS Server Records, Zone File, CNAME?? i don't much knowledge with these stuff, I am new with this kind of stuff.. thanks