Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName example.com
- ServerAlias www.example.com
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www/wordpress
- <Directory /var/www/wordpress/>
- AllowOverride All
- allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- sudo a2ensite example.com.conf
- systemctl reload apache2
Add Comment
Please, Sign In to add comment