Self Hosting

Self hosting this site

Before the Summer I tried to self-host this site and wanted to automate the process of creating new sites based on my static site generator using some shell scripts. In the end gave up because automating the whole proess proved too complicated.

Still I was interested in running my sites on my own server, as a learning exercise. I had done most of the work already. My scripts worked well, except for the certbot automation to get the SSL certificates using letsencrypt.

So this weekend I setup another cloud server on hetzner.com. I ran the scripts to get the sites working. I only had to manually edited some apache vhost files which certbot messed up by insisting on using mod_rewrite to point http to https. I don't need mod_rewrite, so want that disabled. A plain redirect is enough, and is the preferred method according to apache.

Some improvements to my scripts could help. Especially using certbot to only generate they SSL certificates, not update apache.

Tagged: