Switching to self-hosting
I recently got bitten by the self-hosting bug and decided to do something useful with my unused ThinkPad T460 that had been collecting dust on the shelf.
I might go into more details in a subsequent post, but for now these are the minimum viable steps that I've taken to expose this blog to the internet:
- Install Proxmox
- Spin up a Ubuntu 24.04 LTS VM, which serves as my home server
- Install Coolify, which is a PaaS that you can self-host
- Install
cloudflared
and set up Cloudflare Tunnel
- Set up DNS records to point to the Cloudflare Tunnel
- Deploy Ghost on Coolify
There are still a lot of other miscellaneous things you have to do, such as changing domain nameservers to use Cloudflare's, but I shall not bore you with the details.
Apart from the documentation from Cloudflare and Coolify, I found this article rather helpful. It covers the entire process of setting up both Cloudflare Tunnel and Coolify, and deploying a sample application. It's worth the read if want to have an overview of the entire setup process.