First, we need to establish the second URL locally, which means configuring Apache to respond and then configuring the development host to resolve.
For Mac, follow these steps:
MAMP will warn you that it needs to restart Apache and MySQL. It will then do so. You may need to put in your administrator's username and password to approve the restarting of services.
For Windows, follow these steps:
1. Edit the Apache's
vhosts.conf
file, adding the highlighted line in the following code to thedpk.local
virtual host definition:ServerAlias m.dpk.local <VirtualHost *:80> ServerName dpk.local ServerAlias m.dpk.local DocumentRoot "/Users/stovak/Sites/dpk" <Directory "/Users/stovak/Sites/dpk"> Options Indexes Includes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
2. Right...