Replied to Steven Rosenberg (passthejoe.wordpress.com)
I have self-hosted WordPress before, and I'm sure I could do it again. But it can be a lot of work, and it seems like a lot of infrastructure for a blog.

Steven Rosenberg wrote an interesting post about being somewhat inclined to move his blog to WordPress for the built-in commenting system, but being dissatisfied with the hosting options. I posted my own solution as a suggestion (comment pending approval at press time), but I thought I would expand a bit here.

I host both this site and The New Leaf Journal on a Hetzer VPS server. It costs between $5-6 per month with a little bit of extra storage. I manage the server with Cloudron’s free plan. Cloudron provides a robust server management UI and automatically configures WordPress (and optionally Redis). It has an excellent built-in file manager and domain management system. Otherwise, it stays out of the way and allows me to manage my WordPress sites as if it were not there. There are a few caveats. Firstly, Cloudron itself requires some server resources. Secondly, Cloudron is, at its core, a paid service, and I suppose the terms of its free plan could change any time (I would probably consider the paid plan to be cost-prohibitive for my use-case, especially since I would need a more expensive server to take advantage of being able to host more public-facing apps).

(For those interested, I wrote an article about using the free version of the UpdraftPlus plugin to “move” The New Leaf Journal from Bluehost to Hetzner back in 2022. I used the same process to move from a bigger Hetzner VPS to a smaller one back in 2024.)

Another solution is Pikapods. Pikapods provides paid hosting for individual docker apps. WordPress starts at $1.70 per month, but can be more expensive depending on how much CPU, RAM, and storage the user gives to the WordPress pod. I use Pikapods for Miniflux and Wallabag (not WordPress, although I did briefly test a WordPress install) and have had good experiences with it thus far. It does not have a management UI, but does allow SFTP access to the app’s files. There are quick and easy directions for connecting the WordPress install (or any PikaPods app) to a custom domain.

I noticed when reviewing my server logs that the comments feeds for individual posts were receiving hits. This is undesirable since the only “comments” we have are pingbacks and webmentions. I wanted to remove the comments feeds from the head. I found a solution in a 2018 Stack Overflow post combined with an addendum from another user. I added the following code to the child theme functions.php both here and on The New Leaf Journal:

add_filter('feed_links_show_comments_feed', function() {
return false;
});

[Solution Source: Users leoauri and Ivan Shatsky on Stack Overflow]

(PS: I am not a WordPress developer. Please do your own research and double check your work before messing with your functions.php, but it seems to be working here. If someone has a better solution, do tell.)

I had been planning to use the Gwolle Guestbook plugin here (I cannot use it on The New Leaf Journal because it relies on JQuery, which I disable over there). However, I decided that it was too heavy for what will probably be a light use-case. Over on The New Leaf Journal, I had briefly tried a comments-based Guestbook with an open source spam blocklist. However, we did not get any legitimate entries in that Guestbook before I shuttered it on account of the fact that a small number of spam comments were  somehow showing up as published despite my requiring moderation in the WordPress settings. Wanting a Guestbook, I decided to give it a try on both sides while adding Antispam Bee, an entirely local anti-spam plugin, to my set-up. I also added a Block List Updater from the same developer to keep the open source-sourced blocklist up to date without my manual intervention. Finally, I use a plugin called Plugin Load Filter with allows me to explicitly limit Antispam Bee to specific pages. For example, this means that Antispam Bee only functions on the Guestbook page of The New Leaf Journal at the moment. We will see how it goes. But the way, while this site’s Guestbook looks solid (if I do so humbly submit myself), take a look at what I did on The New Leaf Journal side of things.