Let's start with what this post isnt:
- How to selfhost
- How to get a domain for free
- Guide to building a website
This post is about how I'm hosting this site for 0€ in broad terms.
Why I don't host this myself
TLDR: CGNAT
I have dabbled with selfhosting in the past. However as young adult I've been moving about a lot, and currently I don't have access to a wired internet connection. Currently I'm using mobile broadband for my home internet, and while it works decently, it does put me behind CGNAT which hinders my self hosting posibilites, especially on a budget.
Find a static page hoster
I personally use cloudflare, which offers static page hosting with their free tier, under the pages.dev domain. You could also use github or some other provider, depending on your needs, situation and beliefs.
Generate your static page (or write it yourself)
Personally I use Zola, which I find quite nice. However you can use whatever generator you want. Or ofcourse no one is stopping you from writing HTML manually. Sometimes you have to wonder how much time your actually going to waste on writing HTML tags compared to setting up a SSG.
That's it
You have your static page, and you have your free static page hoster. Use your tech skillz to combine, and boom. Ofcourse this is nothing that you should use professionally, but to get started it will do.