How would you go about using a different subdomain without something like a reverse proxy? Heck, in my head that’s almost the only reason I use a reverse proxy
Comment on How to use a domain I own to self-host services?
bruce965@lemmy.ml 2 days agoI would say this would be the proper way to do it (at least as a sysadmin), but since it’s OP’s first time I would simplify it to:
- Install CloudFlare ZeroTrust daemon on your local server;
- Set up reverse proxy such as Nginx (optional, the alternative is to use a different subdomain for each service, which might be easier);
- Point the FQDN to CloudFlare. Let CloudFlare handle the certificates, DDoS protection, etc…
brian@lemmy.ca 2 days ago
bruce965@lemmy.ml 2 days ago
Yeah, I’m afraid you have to use a reverse proxy to host multiple subdomains. The CloudFlare daemon is the reverse proxy.
SheeEttin@lemmy.zip 2 days ago
Most web servers already use the Host header.
ag10n@lemmy.world 2 days ago
Cloudflare isn’t very self-host, unless you want/need to trust a third party I wouldn’t recommend this.
bruce965@lemmy.ml 2 days ago
They provide decent defaults for all the not-so-straightforward configurations, and they provide a web UI to configure the rest. That’s the sole reason I would recommend it to get one’s feet wet without having to work too much.
If one is committed to do things “the right way” they could switch to Nginx and “proper” self-hosting later.