bloqhead
12/5/2013 - 8:17 PM

How to dump MAMP Pro and make the free version behave similarly.

How to dump MAMP Pro and make the free version behave similarly.

  1. Create a file named custom.conf or whatever you want to name it
  2. Go to /Applications/MAMP/conf/apache/
  3. Open httpd.conf with your favorite editor
  4. At the bottom of this file, add Include /Users/[your-user-folder]/Sites/custom.conf
  5. Save the file
  6. Install Gasmask
  7. In Gasmask, edit your hosts file and add each of your sites on its own line in this format: 127.0.0.1 yourwebsite.local (make sure each address matches the one you added in your conf file from step 1)
  8. CMD+S to save the hosts file
  9. Restart MAMP
  10. ?????
  11. PROFIT!!!!

Notes

Here's a screenshot of my hosts file in Gasmask as a reference.

# Your Site Here
<VirtualHost *>
	DocumentRoot "/Users/[your-user-folder]/Sites"
	ServerName website.local # or website.dev, whatever
</VirtualHost>