I have a local development environment that I have setup using MAMP on OSX, on the default Apache and MySQL ports (80 and 3306).
In the hosts file I have setup custom domains for my sites, eg.
I want to be able to access this site on my Windows VMs. Typically I would type in the IP address of my machine, but I need to ensure that the site is accessible from the domain alias (eg. mysite.dev) and not the IP address.
As per the instructions here, http://stackoverflow.com/questions/3326215/running-osx-mamp-test-server-on-virtualbox-windows-7, I have added the following line to my Windows hosts file…
…to no avail. Any ideas?