+++ date = '2024-11-03T13:57:43-08:00' draft = false title = 'Webserver Configuration' +++
Webserver Configuration Checklist
Site Setup
- configure DNS
- apache2/site-available/*.conf
- Let's Encrypt
- mkdir /var/www/
<site document root> - populate
<site document root>depending on application type - apachectl configtest
- systemctl reload apache2
Server Setup
- apt install apache2
- apt install libapache2-mod-wsgi-py3
- apt install certbot python3-certbot-py3
- a2enmod rewrite
Certbot Setup
- sudo snap install --classic certbot
- sudo snap set certbot trust-plugin-with-root=ok