Wildcard CNAME pointing to your reverse proxy who then figures out where to route the request to? That’s what I’ve been doing - this way there’s no need to ever update DNS at all :)
I find the path a bit clunky because the apps themselves will oftentimes get confused (especially front-ends). So keeping everything “bare” wrt path, and just on “separate” subdomains is usually my preferred approach.
suicidaleggroll@lemmy.world 8 hours ago
Why are you having to update your DNS records when you add a new service? Just set up a wildcard A record to send *.myserver.com to the reverse proxy and you never have to touch it again.
Scrath@lemmy.dbzer0.com 5 hours ago
Not OP but a lot of people probably use pi-hole which doesn’t support wildcards for some inane reason
Croquette@sh.itjust.works 4 hours ago
That’s my case. I send every new subdomain to my nginx IP on pi-hole and then use nginx as a reverse proxy
Scrath@lemmy.dbzer0.com 4 hours ago
That wasy exact setup as well until I switched to a different router which supported both custom DNS entries and blocklists, thereby making the pi-hole redundant