Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. and not the IP address.

As per the instructions here,, I have added the following line to my Windows hosts file…

…to no avail. Any ideas?

share|improve this question
Is your MAMP setup to accept external connections. If not it is likely only listening on the local interfact ( – heavyd Mar 19 '13 at 2:13
How do I go about doing this? I have been able to access my localhost via the local IP address, so presumably this is configured correctly? – Patrick Campbell Mar 19 '13 at 7:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.