I’m finally starting to install local web apps that my wife/kids would be interested in, and I know it has to be super easy or they’re never going to go near it. Most everything is running on my Synology on different ports, with absolutely nothing exposed to the outside world, and I’d like to run local DNS and proxy so everything is available LAN-only with an easy hostname - plex.local, paperless.local, etc. (If we want remote access I’ll just run Tailscale.) I’m already running PiHole, and I’m assuming if I poke around I can add local names in there, but has anybody else that’s done this have any suggestions for setting things up?

  • valkyre09@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    If you use NGINX proxy manager you’ll also be able to use a FQDN with SSL for your local services without them being exposed to the internet. It means your local users won’t see the scary insecure page when they access services.

    You can even set your public dns records to have Plex.yourdomain.tld point to the local IP of NGINX - removing the need for local dns entirely. That way if you do need to access a service outside with tailscale; their subnet router feature will just work out of the box.

    Porkbun are still offering a free .dev or .app domain if you don’t already have one: https://porkbun.com/event/freeappdevdomain

    • funkajunk@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Yep, I use cloudflare for DNS and just have 2 records configured there:

      • A record - example.com points to 192.168.1.100
      • CNAME - *.example.com is an alias of example.com

      The IP address above being the address of Nginx Proxy Manager, where I configure whatever subdomains I need for my local services.