Currently my home server runs a few services that have a web UI. I currently access them by typing in the IP address and port number, but it’s now starting to get annoying to remember the ports.

What’s the best way to handle this?

I’ve thought of two solutions:

  1. I’m running a local DNS server, so I probably would be able to make CNAMEs from something like adguard.server.local to the IP, and do a reverse proxy with something like Caddy
  2. Maybe there’s some unified dashboard app that is a reverse proxy with some simple frontend where I can just navigate to server.local and click a button to choose which specific service I want to see?

What are your opinions on this?

  • towerful
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Exactly.
    As long as you don’t need something like mail.example.com to point somewhere else.
    I have a subdomain for my home stuff (so jellyfin.h.example.com and h.example.com is the wildcard) so that any other subdomains are still usable for internet things.

    Only thing is, Pihole doesn’t have it in the UI. It’s widely requested, so I’m sure it will come soon™

    If you are happy SSHing in, tweaking some files, then it’s doable.
    https://hetzbiz.cloud/2022/03/04/wildcard-dns-in-pihole/

    Edit: I actually use my router as my DNS, with its DNS set to be the pihole. My router can do wildcard DNS overrides. However, I do lose insights from the pihole metrics: all requests are from 10.0.0.1