I pay a data center a hundred or so dollars a month and put a server running nginx and my nixos mailserver. No downtime. Power is guaranteed with an sla and it's faster than anything. Why bother self hosting at home when you can just do it for real by paying the same price as an internet connection?
Self hosting in 2023
261–270 of 307 posts
Re: Self hosting in 2023
#262Man, I feel like sometimes people forget the 1990s. I was there, running an Apache service and whatnot. It sucked. Cost a lot of time, and really, fiddling with firewalls and Apache configuration didn't teach me much. All hail PaaS and the like. I'm not looking back.
Re: Self hosting in 2023
#263Re: Self hosting in 2023
#264Earlier quoted context omitted.
I mean is scp any more difficult?
Or git push if you are using GitHub pages?
In most case the main factors to choose self hosting are independence, fun and learning by tinkering. That’s three items that GitHub Pages doesn’t provide.
Re: Self hosting in 2023
#265Self-hosting is weird. I hear a lot of people say it's so much work, but I put like an hour a month into my server at most. I think it's mostly fine from an administrative standpoint, as mentioned elsewhere, not much has actually changed from 2003. You definitely don't need kubernetes. If anything, I think most of what's changed since then is that there's been a flood of bad sysadmin advice making people believe they…
It's a broad church I think, it depends on what you're self-hosting and why. Email is more work than Nextcloud, and an hour or two of maintenance work feels different when it's a hobby you're doing on a quiet weekend than when you're busy with life and some essential service has gone down unexpectedly. Security, as well, is a very deep rabbit hole that can be hard to really get your head around unless you have specif…
Not as much as you'd think. Looking at my power bills, the difference between a month with a relatively idle server, and a month with a very busy server somewhere around 30 KWh. As a year average, the server has added about 60 KWh to my consumption.
Re: Self hosting in 2023
#266Earlier quoted context omitted.
This is sort of true of owning a car or a home or basically anything. Of those things, my server requires by far the least amount of maintenance (even considering needing to take a day to do something more invasive maintenance once two years or so). I also think it's perfectly fine if my site is down for a day or so because I'm away on travel and it's gone offline. 89.9999% has five nines as well.
> I also think it's perfectly fine if my site is down for a day or so because I'm away on travel and it's gone offline. 89.9999% has five nines as well. I think this is the key takeaway: host at home unless you want good uptime. I don't host from home when I want the page to be available even if: 1. There's a power outage at my home 2. I need to e.g. change a lightbulb, so I have to turn off the power (and therefore…
Re: Self hosting in 2023
#267Earlier quoted context omitted.
You can move ssh to a different port.
Anyone who thinks they need to move ssh to a different port likely doesn’t have their ssh security configuration setup optimally.
Re: Self hosting in 2023
#268Does anybody know how you’d do this if your ISP uses carrier grade NAT? (Eg mobile dongle). My limited understanding is that with CGNAT there isn’t a unique public IP that points to you, (even if only temporarily). So presumably DDNS is out? I guess IPv6 could/would solve this one day?
The solution is a tunnel between your machine and an external server with a static IP address. The external server will forward requests to your machine.
Cloudflare tunnel is an option (thanks watchdogtimer), and there's also a service called Ngrok. I took the most complicated option: setting up a reverse ssh tunnel to a VPN that I already had.
Re: Self hosting in 2023
#269Self hosting is really cool. However when it comes to static hosting, apart than keeping your data at home and having fun setting up servers, I don't really see the point when there's so many free good options. I use CloudFlare Pages for my blog, their integration with GitHub is flawless and you get to host your website at edge for free. When I need to host dynamic content, another good option is CloudFlare Tunnels (…
CloudFlare is a MITM against its clients, by design. Everyone is good when things are good, but when trouble comes ..
Re: Self hosting in 2023
#270Just used 10mins of my lunch break to go from 9x to 100 myself. Thanks for the reminder ;)