Last active
August 29, 2015 14:03
-
-
Save drmmr763/55c2cfd74e04f2067890 to your computer and use it in GitHub Desktop.
virtual host example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location: /private/etc/hosts | |
## localhosts | |
127.0.0.1 solo.local | |
127.0.0.1 www.solo.local | |
127.0.0.1 jissues.local | |
127.0.0.1 www.jissues.local | |
127.0.0.1 magento.local | |
127.0.0.1 www.magento.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Location: /private/etc/apache2/extra/httpd-vhosts.conf | |
<VirtualHost *:80> | |
DocumentRoot "/Users/administrator/sites/solo" | |
ServerName solo.local | |
ServerAlias www.solo.local | |
</Virtualhost> | |
<VirtualHost *:80> | |
DocumentRoot "/Users/administrator/sites/jissues" | |
ServerName jissues.local | |
ServerAlias www.jissues.local | |
</Virtualhost> | |
<VirtualHost *:80> | |
DocumentRoot "/Users/administrator/sites/magento" | |
ServerName magento.local | |
ServerAlias www.magento.local | |
</Virtualhost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment