A reverse proxy will allow multiple HTTP servers on different LAN machines.
Install required packages
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
Add the official Caddy GPG key
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy.gpg
Add the Caddy repository
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
Update and install Caddy
sudo apt update && sudo apt install caddy
sudo ufw allow in 80/tcp comment 'HTTP'
sudo ufw allow in 443/tcp comment 'HTTPS'
And reload UFW
sudo ufw reload
Configuring domain names will be done in relevant chapters.