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:     www.dev.com

When I modify my Guest PC's hosts file to:     www.dev.com

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

2 Answers 2


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.

  • 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
    Commented Jun 21, 2011 at 21:42
  • It's probably just getting your head around "virtual" mimicking "physical" with the hypervisors.
    – user48838
    Commented Jun 21, 2011 at 23:21

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    www.dev.com

back to    www.dev.com

did the trick!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .