Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from Oct 10 '12 at 4:23

This question came from our site for professional and enthusiast programmers.

what kinds of networks do you have configured? NAT, Bridge, Host-Only, internal network? Did you check the network configurations and firewalls? Is there probably a proxy server used in the windows system? – mistapink Oct 4 '12 at 0:35
The Cent OS server and Windows are both configured with a Bridged connection. The server is listening to all incoming IP's from port 80 and iptables is configured to allow traffic through port 80. – Marc Oct 4 '12 at 18:23
Did you try to access the page with a different browser on your Windows machine? – mistapink Oct 5 '12 at 16:48
Yeah Google Chrome can't find the website either.. – Marc Oct 5 '12 at 19:04
Maybe some subnet issue? What's the net mask set to? – mistapink Oct 8 '12 at 9:58
up vote 0 down vote accepted

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 that I've updated it, it's working.

share|improve this answer

You must log in to answer this question.