Had to figure this out earlier today and figured others might be looking for an answer too. I am assuming that:
- You are using MAMP with the default ports (80 for Apache)
- You are using Parallels with Windows 7 (although these steps should work for older versions too)
Step 1: Setup your local environment with MAMP
This step is pretty straightforward. If you put your website in
<Document Root>/sitename should be able to load it at
Here’s a helpful tutorial. Don’t forget to set your Apache and MySQL ports to the default 80 and 3306.
Step 2: Figure out your Mac’s IP address on the network
Go into your Mac’s Network Preferences. You’ll see 2 or more connections on the left and the active one will say Connected. Click on it and you’ll see the IP address on the right side of the pane.
To make sure your Mac’s IP address doesn’t change, click on Advanced → TCP/IP. The options sheet below appears.
Change the IPV4 option to Using DHCP with manual address and type in an unused IP address. In the example above I used
192.168.1.100. Read More »