In Geek & Mild's post on using MAMP and VirtualHostX in conjunction with VMWare, there are no less than four requests in the comments section asking how to run the same local webdev set-up using Parallels instead of VMWare. Well, I've got it running on my machine and I'm here to show you how I did it. It's quite easy, actually. (If you have not yet set-up MAMP and VirtualHostX, do follow Sean's excellent steps in the aforementioned article above).
- First of all, go to OS X's System Preferences and click on Network.

- Select Parallels NAT in the left pane. Copy the IP Address below the Configure drop-down with "Using DHCP" selected.

- Select "Using DHCP with manual address" from the Configure drop-down menu and paste the IP Address you copied onto the IP Address field. Click apply.

- Launch Parallels and go to Start>Run.

- Copy and paste the following in the Open field:
wordpad c:\\windows\\system32\\drivers\\etc\\hostsand click OK.
- Type on a new line each of your hosts using the IP from the OS X side (the IP supplied here is just a sample):
10.211.55.X mysite.dev
10.211.55.X mysite2.dev

- Click Save. You should now be able to view the virtual host sites you set up in VirtualHostX under Parallels.

Resources:
Setting Up a Killer, Local Web Development Environment on a Mac With MAMP and VirtualHostX


#1 by Seven Jeans - August 7th, 2009 at 04:04
It is a bit confusing. Could you please post it with the screenshots?
#2 by dano - August 21st, 2009 at 06:28
“Using DHCP with manual address”
when I select this option the IP address changes to 0.0.0.0
#3 by Daniel Dy-Liacco - August 21st, 2009 at 16:34
Hello Seven Jeans, your request has been granted! I've added screenshots to each step.
#4 by Daniel Dy-Liacco - August 21st, 2009 at 16:36
Hi Dano, steps 2 and 3 should clear it up for you now.