this post was submitted on 23 Jan 2026
41 points (97.7% liked)

Selfhosted

60210 readers
951 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I’ve not done much with external access in the past, but I’m playing with Tailscale and it’s pretty neat. Wondering if I can configure it to work like my local access does:

  1. I use Nginx Proxy Manager to set easy subdomains for my services, I.e. service.mydomain.com
  2. I use AdGuard Home and have a redirect for *.mydomain to that NPM
  3. This works great internally, which is all I’ve really used it for.
  4. I’ve got tailscale working and I can go externally to server.wackyname.ts.net:serviceport.
  5. what I’d like to do is have tailscale somehow use the same internal dns/npm info so when I’m on my tailnet service.mydomain.com still works.
  6. But no other external access, said subdomains do nothing off tailnet.
  7. Mydomain.com is an actual domain I own. General DNS is at Cloudflare right now (main domain was pointed at a hosted site previously, but that’s not needed anymore)

Any way to pull this off without a ton of complexity?

you are viewing a single comment's thread
view the rest of the comments
[–] Blaster_M@lemmy.world 3 points 5 months ago* (last edited 5 months ago) (1 children)

Yes, also Tailscale already provides hostname dns for every device on your tailscale net.

[–] chazwhiz@lemmy.world 1 points 5 months ago (2 children)

I know it gives me their magicdns, like server.wackyname.ts.net, I'm talking about using my own domain.

[–] Blaster_M@lemmy.world 5 points 5 months ago* (last edited 5 months ago) (1 children)

slap the tailscale ips into your dns entries then. I do that.

[–] GeneralCricket@lemmy.zip 3 points 5 months ago

Same. Works great

[–] oktoberpaard@feddit.nl 2 points 5 months ago

By default Tailscale devices prefer the local DNS server for any hostname that’s not part of your Tailscale network, unless you’ve configured a global DNS server. There’s also the option to configure split DNS and have a different DNS server for certain domains (for example your own domain). You can also add search domains to allow short hostnames to be resolved to FQDNs of your choice.