I have two virtual machines setup on VirtualBox. A Linux host (CentOS 5.2) with Apache, MySQL and PHP & another with Windows XP.
The linux system has been configured to host www[dot]xyz[dot]com via VirtualHost (IP: 192.168.56.2). It works perfectly fine and a sample html page pops up when i open www[dot]xyz[dot]com in firefox.
However when i try to open www[dot]xyz[dot]com on Windows XP (192.168.56.10), it fails. It says "Couldn't connect to server". I have configured the host file on both linux and windows xp. And both the machines are able to ping each other. I can even ping www[dot]xyz[dot]com on Windows XP and it resolves to 192.168.56.2 (Linux Machine IP).
Firewalls are off on both the systems. I have wasted several days trying to figure out what might be wrong. I even created another linux machine to check if i can open www[dot]xyz[dot]com on the linux but it failed again with the same problem. I was able to ping both of them but i couldn't open www[dot]xyz[dot]com in browser.
Please help me out?