I have a few selfhosted services, but I’m slowly adding more. Currently, they’re all in subdomains like linkding.sekoia.example etc. However, that adds DNS records to fetch and means more setup. Is there some reason I shouldn’t put all my services under a single subdomain with paths (using a reverse proxy), like selfhosted.sekoia.example/linkding?

  • Sekoia@lemmy.blahaj.zoneOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Edit: not sure what you mean by “more setup”, you should be using a reverse proxy either way.

    I’m using cloudflare tunnels (because I don’t have a static IP and I’m behind a NAS, so I would need to port forward and stuff, which is annoying). For me specifically, that means I have to do a bit of admin on the cloudflare dashboard for every subdomain, whereas with paths I can just config the reverse proxy.

    • bratling@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      because I don’t have a static IP and I’m behind a NAS, so I would need to port forward and stuff, which is annoying

      This week I discovered that Porkbun DNS has a nice little API that makes it easy to update your DNS programmatically. I set up Quentin’s DDNS Updater https://github.com/qdm12/ddns-updater

      Setup is a little fiddly, as you have to write some JSON by hand, but once you’ve done that, it’s done and done. (Potential upside: You could use another tool to manage or integrate by just emitting a JSON file.) This effectively gets me dynamic DNS updates.