How do you guys set internal domains?

Say i dont want to type 192.168.1.100:8096 and want a url instead, say jellyfin.servername - how would I go about that? I don’t want it exposed online via reverse proxy. I don’t need certs. No port forwarding on the router.

How do I type ‘jellyfin.servername’ into a browser and being up the jellyfin dashboard?

  • julia@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Theres a few ways to do that but this is the easiest way it to use a caddy reverse proxy & a local dns server (like pihole or adgarud home)

    register servername.local in pihole/adguard https://discourse.pi-hole.net/t/howto-using-pi-hole-as-lan-dns-server/533

    example caddyfile:

    # you must set 'http://' or caddy may error when getting a ssl cert
    http://jellyfin.servername.local {
      reverse_proxy 192.168.1.100:8096
    }
    
    • Red Wizard 🪄@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I wouldnt use .local as that’s also used by apples Bonjour service if I recall correctly. I use .internal which Google and Facebook currently use for microservice stuff. So the odds it ever becomes a tld are almost null.