How can I access a site configured in IIS 7 on the host machine from a guest OS in VMWare (Fedora 10). I have configured the VM to use "NAT"
+2
A:
Depends on your network configuration of vmware product you are using (player, server, workstation). If it is set for a bridged mode, then you can do it as any other machine - by host machine's IP. If it is a "host only" or NAT mode - check what is the gateway IP for the guest (/sbin/route), and try using it:
# /sbin/route
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.x.y.z 0.0.0.0 UG 0 0 0 eth0
In this case, 10.x.y.z is the ip of the host machine.
Sunny
2008-12-02 22:02:36
I am sorry, I am using NAT ..
Nick
2008-12-02 22:48:31
And i am using VMWare Workstation
Nick
2008-12-02 22:50:45
So, there is a "private" network between the host and the guest. Make sure your IIS site binds to the "private" ip as well, not only to the "real" IP and localhost. Then, as I said, check in the guest what is the gateway IP, it is the same as the host "private" IP, so you can use it.
Sunny
2008-12-02 23:08:31
A:
Pretty easy...
Step 1 Configure IIS on the host OS to include a binding, if you would like to use a "url". for example mySite.com
Step 2. In the Guest open up the hosts file c:\windows\system32\drivers\etc\hosts.
Add the entry
[hostip address] [host iis bining url]
Example
192.168.0.1 mySite.com
restart your browser in the guest, and you should be good to go.
Michael L
2008-12-03 07:46:44
Why not simply type the IP number of the host in the address bar in the browser on the guest?
Jan Aagaard
2010-04-28 09:19:30