What I learned about business by hosting my own personal website using node.js on a Raspberry Pi 4 using Debian 12 Bookworm

Julian M. Kleber
12 min readJun 8, 2024

TL;DR: Yes, check it out https://julianmkleber.com When you followed along with my articles in the series, you have been into the game for a couple of days. And that’s great. You learned that even though there are predators, you can defend your tiny (model) company against them if you work on it. So, after we proved to the whole world that we can run infrastructure to literally make money by mining XMR (check the meaning of Monero), we can start hosting websites. This blogpost describes how to host a static website using node.js, podman, vue.js, certbot, fail2ban and nginx. My setup saves me at least $666 per year for one web project in my company setting.

Preface

Note, that this is much more complicated, as we are going to setup infrastructure to develop, maintain, and deploy the website in a self-hosted industrial production setting that is under heavy cyberattacks by an APT (yes, I still have some aggro).

Prepare your network

I recommend segmenting your network, with a firewall, and maybe its router and putting the server that hosts your website outside the segment where, for example, your Forgejo instance sits.

--

--