Created
November 25, 2018 15:44
-
-
Save waltzfordebby/967ada0477f4adf9fba806831c786f22 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| cd /etc/apache2/sites-available | |
| cp 000-default.conf <name_of_site>.conf | |
| sudo gedit <name_of_site>.conf | |
| Add the path for virtual host | |
| sudo a2enmod rewrite | |
| sudo a2ensite <name_of_site>.conf | |
| sudo service apache2 restart | |
| sudo gedit /etc/hosts | |
| enter the created site | |
| 127.0.0.1 <name_of_site>.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment