Comment on How to use a domain I own to self-host services?
littleomid@feddit.org 3 days ago
Three steps:
- point the FQDN to your network (Dynamic DNS).
- set up reverse proxy (Nginx, etc.)
- set up certificates (Certbot, etc.) Optional step 4: harden with fail2ban and a firewall.
bruce965@lemmy.ml 3 days ago
I 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:
ag10n@lemmy.world 3 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 3 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.
brian@lemmy.ca 3 days ago
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
bruce965@lemmy.ml 3 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 3 days ago
Most web servers already use the Host header.