I am a web developer and my development platform is Mac. I have installed a copy of Windows XP in VMWare fusion for testing purposes and using IE for previwing my websites. I have Apache running on my Mac with several subdomains, like test.localhost etc.
How can I access the webserver on host OS from the guest OS?
Thank you in advance.
Internal network—sets up communication between the host system and the virtual machines on it. External network—connects virtual machines and the host physical network. This allows the virtual machine to communicate on the same network as the host, operating as any other node on the network.
To configure your virtual machine with a NAT connection: Open the virtual machine settings window from within your installation of VMware Workstation, VMware Server or VMware Player by clicking VM > Settings. In the hardware tab, highlight the network adapter and ensure that the NAT connection checkbox is selected.
Using Fusion 6.0.2 on OS X 10.9 Mavericks
turn off your virtual machine
open the "Virtual Machine | Network Adapter | Network Adapter Settings..." menu
in the "Bridget Networking" section choose "Autodetect":
when Win7 asks: "Do you want to allow the following program to make changes to this computer?" click on the "Yes" button
navigate to: "Computer | Local disk (C:) | Windows | System32 | drivers | etc"
select "All files" in the drop down menu on the right of the "file name:" field
double click the "hosts" file
192.168.1.106 in the example
in the example I configured two sites: localhost and caeb.leo
Hope it helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With