Created
June 19, 2019 17:30
-
-
Save manishprajapatidev/9080fa3489cc4a9679fef70b32ba38ef 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
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/php.koffeewithkode.com.conf | |
sudo nano /etc/apache2/sites-available/php.koffeewithkode.com.conf | |
<VirtualHost *:80> | |
ServerAdmin admin@koffeewithkode.com | |
ServerName koffeewithkode.com | |
ServerAlias php.koffeewithkode.com | |
DocumentRoot /var/www/html/php | |
DirectoryIndex index.php | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> | |
sudo a2ensite php.koffeewithkode.com | |
sudo systemctl reload apache2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment