Run ifconfig vmnet1
in Terminal to get the inet IP address.
My output looks like this:
vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:50:56:c0:00:01
inet 192.168.249.1 netmask 0xffffff00 broadcast 192.168.249.255
So my inet IP address is: 192.168.249.1
Then, edit your hosts file in the Windows VMWare instance. This file lives here:
C:/WINDOWS/system32/drivers/etc/hosts
192.168.249.1 yourdomain.local
192.168.249.1 localhost
Afterwards, you need to flush your dns on the windows box.
In CMD type in ipconfig /flushdns
If you are running Django, when you do ./manage.py , target for that Ip.
./manage.py 192.168.249.1:8000