FORGET ALL THIS
THIS IS THE WAY
1— Install Bonjour for Windows... on your Virtual Machine
a) Download and install (in your Windows OS) Apple’s Bonjour For Windows at http://support.apple.com/kb/DL999
b) Or install Safari or iTunes in your Virtual Machine (you will have a choice to install Bonjour for Windows) (and better, it will be updated with your apps)
2— Enable file sharing...
- Now back in Mac OSX, enable file sharing. System Preferences > Sharing > File Sharing. (tick File Sharing)
3— Change your Apache and MySQL ports in MAMP...
- Run MAMP and open up ‘Preferences’. Change the Apache Port to 80 and the MySQL Port to 3306
Note: N.B. Make sure there are no other instances of MySQL running.
4— Check your computer Sharing Name
System Preferences > Sharing > File Sharing
Access your site/sites with that type of url....
Example: http://Whatever-Name.local/htdocsubfolder/foldersites/
This example show my particular setup
Part 1 —> http://
Part 2—> Whatever-Name.local = Your own computer sharing name (follow by .local)
Part 3—> /htdocsubfolder = In my case I have a subfolder that contain all my tests sites...
Part 4—>/foldersites/ = The name of any test site folder...
Boum! No Crap!
Remember that your local url in your mac will now be like this:
http://localhost/htdocsubfolder/foldersites/
Last edited: May 30, 2013