Vhosts
sudo pico /etc/hosts
Add:
127.0.0.1 digital-photographer.local
in
apache/conf/httpd.conf
Add:
NameVirtualHost *
<VirtualHost *>
DocumentRoot “/Applications/MAMP/htdocs”
ServerName localhost
</VirtualHost>
<VirtualHost *>
DocumentRoot “/Applications/MAMP/htdocs/digital-photographer”
ServerName digital-photographer.local
</VirtualHost>
Recent Comments