Accessing my docker webUI with domain names via tailscale - eviltoast

I hope I can explain this properly but I have a domain name that I would like to use to access my dockers hosted on my unraid server but I do not want to open it out to the internet.

Currently I’d be connecting to tailscale and logging in via http://:

But the port numbers are kinda hard to remember and I have a domain name so I was wondering if it’s possible to connect via: https://radar.mydomainname.com but only locally via tailscale?

  • Dave@lemmy.nz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    If you are running a Pi-hole you can set the IP to a domain in the local DNS, then add this DNS in the Tailscale settings.

    But you’ll need a reverse proxy if you want to avoid having to put in ports. The reverse proxy takes the traffic sent to the normal HTTP ports and redirects it to the port of the service based on the domain name. Some common reverse proxies for docker are traefik, caddy, or nginx (web server) set up as a reverse proxy.