How to self-host a website (home or VPS)
Pick home or a VPS first, then put a static site live on nginx: server block, DNS record, firewall rule and TLS certificate, and what changes for an app.
Filtering by topic #lets-encrypt · clear
Pick home or a VPS first, then put a static site live on nginx: server block, DNS record, firewall rule and TLS certificate, and what changes for an app.
Issue a wildcard certificate with Certbot using the DNS challenge. How the TXT record proof works, which plugin to install, and how renewal stays automatic.
One command gives Apache a free Let's Encrypt cert on Ubuntu 24.04. Skip snap: apt ships Certbot 2.9.0. Plus the ServerName trap that blocks issuance.
Run five apps behind one IP with Traefik v3 on Docker Compose: routing by Host rule, automatic Let's Encrypt TLS, and the acme.json trap that blocks startup.
sudo apt install certbot python3-certbot-nginx, then one certbot --nginx run for a Let's Encrypt cert. Plus apt vs snap and the port 80 renewal timeout.