Server Fault is a question and answer site for system and network administrators. 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

Host PC :

Windows XP SP3

Guest PC :

Virtual Machine running Windows 7 SP1

Host PC IP Address :

Guest PC IP Address :

On my Guest PC I'm trying to access a website running on my Host PC. My Host PC's hosts file has the entry of:

When I modify my Guest PC's hosts file to:

and open up Internet Explorer 9 and type in, it says Page not found. Any ideas on what I need to do to get this to work?

share|improve this question

What are the subnet masks for both host and guest systems? It looks like they both should be based on the IPs that you have identified.

share|improve this answer
Even though they are both tied to the same physical NIC, the physical on the host and the virtual on the guest are treated as separate NICs which do not know of the existence of the other. Since the web server is on the host, they both need to refer to the host's IP. – user48838 Jun 21 '11 at 21:42
It's probably just getting your head around "virtual" mimicking "physical" with the hypervisors. – user48838 Jun 21 '11 at 23:21
up vote 0 down vote accepted

I figured it out. It doesn't matter that the IP's are different. I just needed to use the same hosts file settings as my host. I don't know why I hadn't tried that already, but simply changing

back to

did the trick!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.