Tailscale + NPM using custom domain names in Unraid? reddit / selfhosted ---------------------------------------------------------------------- KnightElm · 2023-12-05 20:42 So I have installed tailscale to my unraid server through the plugin. What I want to do essentially do is access services running in docker containers on my unraid server using a custom domain name. Here's what I have done so far. 1. Running docker services in bridge mode 2. Bought a domain name through cloudflare and set an A record pointing to my unraid server's magicdns (10x.10x.10x.10x) as well as 3. Installed nginx proxy manager docker container (with bridge mode) and connected my domain name to it using the token. 4. Setup my SSL cert in NGINX for my domain and wildcard subdomain. 5. Setup proxy hosts. Source: [myservice.mydomain.com](https://myservice.mydoamain.com), Destination: http://10x.10x.10x.10x:port Now, I can access the docker containers by doing mydomainname:port wihtout an issue but whenever i use [myservice.mydomain.com](https://myservice.mydoamain.com) i either get 404 not found. So my question is what am I doing wrong? Am I missing something? Is this even possible in the first place? I m not sure if this is an issue with tailscale or NPM. I tried to follow this tutorial: [https://youtu.be/qlcVx-k- 02E?si=uWW3kGOceDTkeU0z](https://youtu.be/qlcVx-k- 02E?si=uWW3kGOceDTkeU0z). I would appreciate any help here! ---------------------------------------------------------------------- csmith1210 · 2023-12-06 02:15 If NPM is in the bridge network with the other containers the proxy destination IP should be the bridge IP of service. ---------------------------------------------------------------------- KnightElm · 2023-12-07 02:22 So I tried setting the IP to both the local IP for the unraid server and the IP given by tailscale. But I'm still getting the 404 error. ---------------------------------------------------------------------- csmith1210 · 2023-12-07 03:26 Are you using a custom bridge network or the default bridge? Regardless, you should still be able to use the bridge's IP address. For instance for paperless, I'd set NPM to redirect `paperless.domain.com` to `172.20.0.16:8000`. The docker containers cannot interact with the unraid box so using the unraid IP `192.168.50.95:8000` would not work.