27 03, 2016
  • mamp

Setup Virtual Host On MAMP

Setting up a virtual host on your MAMP server is not difficult. 1. Go into the Apache folder and update the httpd.conf file (/Applications/MAMP/conf/apache/httpd.conf). Don't forget to make a backup of the httpd.conf file before editing it. 2. Look for the following line of code (Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf) and uncomment it as indicated below, don't forget ....read more

10 01, 2013
  • Edit Mac Host File

Edit Mac Host File

If you need to add or edit an entry to your Mac host file then open your terminal/console enter the following command: sudo vim /private/etc/hosts After editing your host file you should clear your host cache. Enter the following command to clear your cache: dscacheutil -flushcache