Guest User

Untitled

a guest
Feb 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName example.com
  3. ServerAlias www.example.com
  4. ServerAdmin webmaster@localhost
  5. DocumentRoot /var/www/wordpress
  6. <Directory /var/www/wordpress/>
  7. AllowOverride All
  8. allow from all
  9. </Directory>
  10. ErrorLog ${APACHE_LOG_DIR}/error.log
  11. CustomLog ${APACHE_LOG_DIR}/access.log combined
  12. </VirtualHost>
  13.  
  14. sudo a2ensite example.com.conf
  15.  
  16. systemctl reload apache2
Add Comment
Please, Sign In to add comment