views:

2129

answers:

1

I have Windows XP running inside Windows 7 via Virtual PC (XPMode). Now I want the IE6 browser inside the virtual XP guest instance to be able to talk to the IIS webserver running in the host OS (Windows 7 IIS 7.5).

I understand I need to setup a Loopback Adapter which I have done, but I'm not quite sure how to go about configuring it. I've found plenty of articles on google (and even on StackOverflow) saying to use Loopback Adapter, but seem to be a bit light on details.

I have installed the Microsoft Loopback Adapter in the host OS (Windows 7) and configured it to use static IP address of 10.0.0.1 and subnet of 255.255.255.0 and Default Gateway is set to blank. I have then configured my virtual PC guest to use two network adapters (in Virtual PC), one is set to Shared Networking (NAT) and the other is set to 'Microsoft Loopback Adapter'. In the XP guest I have given the Loopback Adapter a static IP of 10.0.0.2 and subset of 255.255.255.0 and default gateway is blank. Finally, I have editted the hosts file in the guest and added the line

10.0.0.1           mywebsite.dev

The same line has been added to the hosts file in the host OS, except using 127.0.0.1 instead of 10.0.0.1 and typing mywebsite.dev in a browser opens up the website just fine, but on the guest XP OS I just get a "The page cannot be displayed".

Have I configured this all correctly? Anything I've missed? Networking is not my strong point!

A: 

Ok, reread the question, and now realize you're doing it right... unless you're using a 10.0.0.x subnet for your outside adapter as well.

Josh