Ditching my hosting plan for Astro

October 10, 2022 • 2 minute read

Last week my hosting provider sent out an e-mail warning they’ll be raising their prices in 2023. That got me thinking: do I really need to keep this web hosting plan I’ve been using since 2018? TL;DR: not really.

When I started this little website I didn’t give it much thought and just used WordPress because I was fairly familiar with it. Getting it online was as simple as buying a shared hosting plan, deploying the site and choosing a free theme. Over the years I’ve been meaning to ditch my web hosting plan and that e-mail was the final push I needed to get rid of it. Why?

  • The e-mail accounts tied to my web hosting service are rarely used to send e-mails, so I can just forward everything to a single free account and cut those costs.

  • Managing a web hosting service and a WordPress installation comes with its own complexities that I don’t really want to deal with, like updating its core and plugins regularly, keeping up to date with security issues, etc.

  • I can count on my fingers the number of blog posts I write every year so why have a backend at all? Nowadays, with frameworks like Astro and tools like GitHub Pages or Netlify, I can simply have a static site that automatically gets generated and deployed every time I write a new blog post.

On top of that, I’ve been meaning to try Astro since I first heard about it and this was the perfect opportunity to take it for a spin! It even has built-in support for Markdown and MDX content and integrates easily with Tailwind CSS, so what more could I ask for? Also, no PHP, yay!

With all that out of the way, the stack I settled on is simple: Astro as the static site generator, Tailwind CSS for styling and Netlify (with GitHub integration) for handling versioning and deployments. This is not supposed to be a technical post so I’m not going in depth into its development and deployment, but you can always find the source code on my GitHub profile if you’re interested.

There are still a few things I want to do with it like content filtering and pagination but those will come when they’re actually needed. In the meantime, I should probably get back to making games…