I'm completely stumped. I'm running Ubuntu 11.04 as the host. I also have a virtual Cent OS server running in VirtualBox. With a browser on my host (Ubuntu), I can hit the server and see my web pages so all is fine and dandy. Unfortunately though, I also have to test with Internet Explorer ugh...
So I set up a Windows guest running in VirtualBox as well. So my setup now is 1 host (Ubuntu) with 2 guests (Cent OS and Windows). Now I can ping my server from the Windows VM and also browse the Internet but I can't access my web pages! I'm using IE8 and I keep getting: Internet Explorer cannot display the webpage. Stupid Windows...
Any ideas?
71 Answer
Ugh, I can't believe I spent two days on this issue. It turns out I needed to add the IP address of the virtual server to the Windows hosts file.
I thought the hosts file was only used to translate domain names to their respective IP addresses. Before, I had been entering the IP address of my virtual CentOS server directly into the address bar so I didn't think the hosts file required any modifications. But alas...now that I've updated it, it's working.