Created
October 13, 2016 21:13
-
-
Save iamnnort/d906c1f8edcaf90b04e5b6ad31ff603a to your computer and use it in GitHub Desktop.
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
1. Open /xampp/apache/conf/extra/httpd-vhosts.conf | |
2. Add our host: | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "D:/xampp/htdocs/mysite/public" | |
ServerName mysite | |
ServerAlias www.mysite | |
<Directory "D:/xampp/htdocs/mysite/public"> | |
AllowOverride All | |
Require all granted | |
</Directory> | |
</VirtualHost> | |
3. Open C://Windows/System32/drivers/etc/hosts | |
4. Add our host name: | |
127.0.0.1 mysite | |
127.0.0.1 www.mysite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment