If your family uses a dashboard only at home, why put it on the internet just to give it a memorable address? With Pi-hole handling name lookups and Caddy acting as a reverse proxy, you can open the dashboard by name over HTTPS without forwarding a router port.
Forwarding a port makes a service reachable from outside the home. A firewall can restrict who gets through, but it doesn’t eliminate the risk. The How-To Geek writer who described this setup had put qBittorrent behind a public reverse proxy for the convenience of typing a name instead of an IP address and port. Nobody needed remote access to it.
The writer had counted on qBittorrent’s web login for protection. Several months ago, the password reverted to its default after an update, the writer said; it wasn’t clear why. An intruder installed mining software that kept the server’s CPUs at 100% until the writer fixed the problem. The experience made the writer more selective about which services to make public.
Point the name at Caddy, then point Caddy at the app
The setup needs two things: a DNS server to look up names and a reverse proxy to receive browser requests and pass them to the right app. Pi-hole and Caddy are the writer’s choices, but AdGuard Home or Technitium can handle DNS, and Nginx Proxy Manager or Apache can act as the proxy.
Take Jellyfin as an example. Start with a device that uses Pi-hole for DNS. In Pi-hole, create a local A record, which maps a name to an IPv4 address. If Caddy runs at 192.168.0.8, set the record for jellyfin.domain.com to 192.168.0.8, not to Jellyfin’s address. When the device looks up that name, it gets Caddy’s address.
Now give Caddy the address of the app. If Jellyfin runs at 192.168.0.9 on port 8096, configure Caddy to forward requests for jellyfin.domain.com to 192.168.0.9:8096. The browser connects to Caddy without needing to know which port Jellyfin uses.
You don’t have to buy a domain for local DNS alone. For HTTPS, the writer recommends using a domain you own so you can obtain a trusted certificate rather than installing a self-signed certificate on every device. The writer put the cost of a domain from Cloudflare at under $12 a year. If Cloudflare hosts your DNS, configure Caddy to use Cloudflare for certificate validation. Then open https://jellyfin.domain.com on the device that uses Pi-hole. Jellyfin should load without a certificate warning or a port number in the address.
Keep some names local and others public
Only the names you enter in Pi-hole get those local overrides. When Pi-hole can’t find an answer in its records or cache, it asks an upstream resolver. You can keep Jellyfin local and still create a public A record for minecraft.domain.com that points to a game hosting provider.
The writer runs public websites and shares some services with friends and family, but uses a separate Caddy instance for private apps. For public traffic, the writer forwards ports 80 and 443 and configures Caddy to accept requests only from Cloudflare’s IP ranges. The Proxmox interface, Open WebUI and Pi-hole stay on the private side. To use them away from home, the writer connects through Tailscale rather than making them public.




Discussion