Moving to Codeberg and Statichost.eu
Back when I ran my own development shop (2009-2021), I paid for a dedicated VPS server to host all of my sites. Since it was just me, I wasn’t really worried about git repos or any real complicated deployment patterns - I would simply work locally (with redundant backups of course) and then FTP (!) everything up that needed changing. Yes, it was a pain in the ass but it wasn’t worth the time to redo my entire workflow since, when you work for yourself, time is money.
Flash forward to today - I no longer host or even really maintain sites (other than my own, and this blog but that’s handled by micro.blog) but I still had a dedicated VPS for serving up a few remaining sites - the “thanks for your business but I’m closed” for my old company, a family site, and then varn.dev which is just an 11ty site. All of the sites are just static HTML sites and a VPS was really really overkill just to be able to FTP and update things.
And of course, my “cheap” VPS company got bought by another company and then another company and became hosting.com, and inevitably with all of this consolidation the prices rose to the point that when my hosting auto renewed, it was over $300 a year to serve some HTML files.
I’ve been trying to get away from Big Tech as much as possible, especially US centered companies, so I finally bit the bullet today and decided to move the three sites.
First, I opted to avoid Github entirely - despite being owned by Microsoft, it’s up time has been become a joke in the past 6 months or so. I looked around and opted to try out Codeberg. Setting up an account was easy (and I even got my same Github user name!) as was setting up the repos for each site. Once I made the repos for each site, I needed a way to serve them.
On Mastodon I had seen a lot of good things about Statichost.eu. They are purely in the EU (who have great privacy and consumer protections), and aren’t beholden to any of the large big tech companies for hosting or infrastructure. The pricing was really affordable (about $10 a month) and setup was pretty straightforward. I setup a free site to test it (using my old company site as a test). After a bit of confusion on some of my DNS settings (pro tip - it will make a SITE_NAME.statichost.page for you, but you have to manually add your domains TO that domain account, otherwise nothing will work!), I connected it to my Codeberg repo and within a few minutes it was serving the site perfectly. Knowing what to do now, I went ahead and paid for a starter plan so I could add more domains. I moved the other family site again with no problem, but the varn.dev site was 11ty
Luckily, Statichost.eu has a way to setup auto builds for SSG sites so after following the instructions, I connected it to my Codeberg as well, pushed up some test changes to the site locally, watched it build on the first try and then after DNS updated, I was fully migrated to Statichost.eu
I don’t know if I have any other sites that I’ll use it for other than the ones I already have, but it feels good to pay $120ish a year instead of $330! The only bummer of course is that I can’t get a refund for what I already pre-paid for, but I’ll gladly eat that money to save in the future and more importantly, to join the “modern” web workflow for my own personal stuff and get away from Big Tech.