Hey everyone. This is probably a super noob question, but I’m very much just an amateur when it comes to self-hosting.

I host several services that I access locally through 192.whatever:####, and when I occasionally need remote access, I use Tailscale and access through 100.whatever: ####. The duplicate bookmarks is mildly annoying though.

Can I just buy a personal domain, and have all my services be coolname.com:#### for both local and Tailscale access? Is that as simple a process as I want it to be?

Edit: I appreciate all the comments and I’ll probably just use Tailacale’s MagicDNS for simplicity, but one or my (unwritten, my bad) goals was to have one URL that works locally and remotely, regardless of Tailscale. I don’t leave Tailscale constantly connected because it overheats my phone (which already has terrible battery life).

  • i_am_not_a_robot@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    53 minutes ago

    You don’t need DNS for this. If you want to use your 192.whatever away from home you can configure tailscale to route 192.whatever to your home network via an exit node.

    • BCsven@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 minutes ago

      This is the best answer, everyone else is making it complicates with DNS and reverse proxies… Exit node, or if you use straight wireguard and set the firewall zone rule on the wirguard PC/device to forwarding and allow masquerading that PC will send out the 192.1680.x.x request like its local.