is it better to use subdomains or paths? - eviltoast

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
    arrow-up
    0
    ·
    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.