Happiness and Misadventures

A VPS, Finally

This rainy Sunday, I finally got my first VPS. I’ve always wanted to self-host my blogs and maybe some other services, and I wanted to use one of my Raspberry Pi. Unluckily, the renovation is taking me much more time than expected, so in the meanwhile I decided to get a VPS.

First, I opted for Hetzner in order to have the data hosted in the EU (not a big deal, it’s mostly a conviction of mine). It’s quite cheap, too. Then, I got Rocky Linux as Operating System because I loved CentOS, and I am very familiar with it. Last, as Web server, I installed nginx. I had never used it(!), but I heard very good feedback about it, so it took me a few moments to decide.

I spent a few moments to harden the OS (it’s my job!) and I won’t give many details here because I’m a bit paranoid. πŸ€“ But generally I:

In an hour or so, my static websites were already there, and then I spent the next morning to fight against some nginx configurations. I noticed that, when accessing http://ip-address, the response was OK, but when using https, the first website in alphabetical order appeared!

Then, after a few hours, while feeding the cats and preparing tomato sauce (that’s another story, I’ll write about it), I found an amazing answer on Stack Overflow which addressed precisely my issue. Never happened before. πŸ₯²

Now I want to install some more software, e.g. Pi-Hole, but I think I prefer running most of them on a private network… on the Raspberry Pi, after moving in the new house. We’ll see when that’ll happen. πŸ‘΄


🎧 A wonderful track I discovered in The Bear OST

πŸ“– Always The Dark Forest


Reactions

How to interact with this page

Via Webmention

Write about this page on your own website and send a Webmention to https://blog.scaglio.id/posts/a-vps-finally/. Your post will appear below.

By email

You can also send an evegreen email if you prefer!