Reminder to self: how to set up a virtual host for localhost webdevelopment on OS X with MAMP
-
DNS setup: add an entry for the local domain name in
/etc/hosts
, e.g.127.0.0.1 foo.localhost
and flush DNS cache with
dscacheutil -flushcache
-
Apache config (
/Applications/MAMP …
-