I have installed Windows Server 2008 on the latest version of Sun Virtual box. I have some web sites hosted in the Windows Server virtual machine.
How can I access the websites hosted on the virtual machine from the host machine? Currently, the network adapter is set to work in NAT mode.
Thanks in advance.
-
I don't recommend using the NAT mode, prefer the Bridged mode that will make the VM acts like a real PC on the network or the Host-Only for a closed network (don't forget to configure the "host" on the same network on the host-only), then you'll just have to go to the IP of your server in your browser ;)
From Kedare -
I'm not sure what "pissedoff" is trying to do here...but anyhow...
If you set the virtual addaptor to bridged mode this will give the virtual machine an IP address from your DHCP server (if you have one). try giving the host a static IP of 192.168.2.2 and the guest 192.168.2.3 (subnet mask 255.255.255.0) and see If you can ping between them. Also not bridge mode is not the same as host-only so you will need to have it connected to a network for this to work.
From tombull89
0 comments:
Post a Comment