News for hackers. Stuff that matters.
Re:Self hosting in 2023 and why you should do that by mythz on Sunday February 19, 2023 @06:43PM (#34863096)
Not sure why you'd self-host a public site from home when you can get a VM from https://www.hetzner.com/cloud for € 4.81 /mo (1vCPU / 2GB RAM / 20 TB bandwidth) with much better internet access. Residential internet connections are more unreliable, have poor upload speeds and requires running a server 24/7 with ongoing electricity running costs.

Or if it's a static rendered website you can publish on GitHub Pages for free and use a CNAME to use a custom domain which is what we do for our docs https://docs.servicestack.net created with https://vitepress.vuejs.org that uses GitHub Actions to build and publish the site.

Re:Self hosting in 2023 and why you should do that by AussieWog93 on Sunday February 19, 2023 @07:31PM (#34863482)
I don't think people are seriously doing self-hosting for practical reasons - it's more for the fun and pride of setting something up yourself.
Re:Self hosting in 2023 and why you should do that by artificialLimbs on Sunday February 19, 2023 @10:33PM (#34864651)
I run a basic commercial site on my home because after 2 years, my co-op owned fiber ISP has never had so much as a blip of downtime. If they did, I can spin up a cloud server, pop the backup down there, and redirect via Cloudflare in probably less than hours.
Re:Self hosting in 2023 and why you should do that by superkuh on Sunday February 19, 2023 @07:49PM (#34863610)
You don't control a VPS, uptime doesn't matter, and even my 5 Mb/s upload is just fine. Electrical costs are marginal. But most importantly there is nothing more convient than $ cp photo.jpg ~/www/ and sending someone the link example.com/photo.jpg. Plus you have tons of space.

That's not to say that a VPS in addition isn't useful or fun. https://indieweb.org/POSSE and all. It just isn't at all required.

Re:Self hosting in 2023 and why you should do that by klysm on Sunday February 19, 2023 @07:51PM (#34863620)
I mean is scp any more difficult?
Re:Self hosting in 2023 and why you should do that by tigroferoce on Sunday February 19, 2023 @07:55PM (#34863660)
Or git push if you are using GitHub pages?
Re:Self hosting in 2023 and why you should do that by pjerem on Monday February 20, 2023 @06:26AM (#34867133)
It’s strange to compare self hosting and 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 and why you should do that by justsomehnguy on Sunday February 19, 2023 @10:20PM (#34864593)
Just recently I linked my home LAN with my VPS with WireGuard. I needed to configure queues on my home router because I got consistent 100MBps on the wire and this is a bit too much for my VPS provider (too much to pay, not to handle).
Re:Self hosting in 2023 and why you should do that by megous on Sunday February 19, 2023 @10:20PM (#34864591)
Some people have symmetric gigabit (or faster) home internet these days.

Renting slices of someone else's shared HW hardly compares in terms of price to owning the full machine. Expected lifetime of some cheap SBC you'd use for hosting your personal projects is ~10 years. It can cost say EUR 50-100 to run it that long these days. 10 years of that hetzner VM is EUR 577. That's 500 EUR I can do something else with per machine.

Whenever I try calculating HW ownership vs renting in the "cloud" for personal usecases it at worst comes up to paying off in a year, and usually sooner.

There are also many other benefits of having physical access to the HW.

Just right now about 7 SBCs I run have total cost of ownership at $20 on average each and I've been running them for 5-7 years...

Re:Self hosting in 2023 and why you should do that by ptman on Monday February 20, 2023 @04:22AM (#34866499)
Hetzner is a good provider, but you can get some resources for free as well. https://paul.totterman.name/posts/free-clouds/
Re:Self hosting in 2023 and why you should do that by acatton on Monday February 20, 2023 @04:44AM (#34866628)
These free tier offers will kill you on the bandwidth costs.
Re:Self hosting in 2023 and why you should do that by ptman on Monday February 20, 2023 @03:18PM (#34872369)
Two alternatives: cloudflare in front or oracle (which has ridiculous free traffic)
Re:Self hosting in 2023 and why you should do that by mmcnl on Monday February 20, 2023 @02:52PM (#34872100)
I want to self-host a public site because I can be fully in control of the stack. It gives satisfaction to distribute a website to the entire world without depending on third parties other than your utilities company and internet connection. It's fun and I learn a lot from it. But from a business perspective, your solution is ofcourse better, just not as fun.
Re:Self hosting in 2023 and why you should do that by rem7 on Monday February 20, 2023 @05:36PM (#34873869)
He said it’s a static page too… don’t even need a VM. He can just dump it into Amazon S3 and put cloudfront on top of it. Unlimited scaling across the globe, 1TB free of data transfer, free SSL.
Re:Self hosting in 2023 and why you should do that by cxr on Tuesday February 21, 2023 @08:16AM (#34880738)
> if it's a static rendered website you can publish on GitHub Pages for free

Reminder that if you are going to do this, then it has to lie within the subset of uses deemed acceptable by the GitHub terms, which forbids hosting on GitHub Pages for e.g. e-commerce or any other business reasons; GitHub Pages is not a 1-to-1 substitute for e.g. Cloudflare Pages or Netlify.