Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Trying do https://YOUR-DOMAIN-HERE
Now I feel dumb.
That didn't work earlier.
I just went to copy the error message I saw before and... it's working.
Maybe because I switched back to Namecheap's nameserver? Or maybe because I cleared my cache again? Or maybe because I game it some more propagation time?
Or maybe magic?
Each potential reason seems equally likely to me.
Thanks
Welcome to the world of web administration
That was my exact experience too when I first started out.
Things that should have worked didn't, and things that shouldn't have worked did
And then eventually the things that should have worked started working, with no clear indication of why they weren't working, or why they suddenly started working.
All I can say is that it gets easier with time
DNS can take 4 to 24 hours to replicate out. Next time, you can adjust you hosts file temporarily to test while it does it's thing.
yea it might just be missing a proper http -> https redirect, not sure how to do that in Caddy cause I only know nginx.
Caddy auto redirects to https as long as you don't add "http://" to the domain.
That sounds more like your browser, not caddy.
Ah, maybe I wasn't clear enough, caddy doesn't need a configuration to redirect traffic from port 80 to port 443, it does it automatically: https://caddyserver.com/docs/automatic-https
If you want to configure an http only site you need to specifically configure it in your Caddyfile.
Here's an example for a reverse proxy
Yeah, I figured that's what you meant after rereading it. Chrome at least does automatically switch to HTTPS in some cases, like where it's seen HSTS.
No, most browsers will do what they’re told. At least with nginx, you have to set up a server to listen on port 80 and send a 301 permanently redirected message with the https URL.