...or the story of how hosting your own blog sounds pretty easy, but looking for the tools to use is hard
This article is part of a series about setting up your own blog and hosting stuff in general:
- How to host your own Blog...
- How to host your own (secure) blog...
While I wrote up my personal introduction introduction in this here blog, it was hosted in a small VPS as a simple docker container. The setup for that was quite nice and it can mostly be achieved by sticking to the documentation surrounding the ghost docker image.
In the end this just means doing something like the following:
docker run --name myblog -p 80:2368 -v /my/ghost/content:/var/lib/ghost/content ghost
But at this point I already noticed that I had no support for https-access to the page. Although I'm new to hosting my own website, I knew that this wouldn't do. Due to listening to podcasts and reading a lot about the topic, I was sure that you always use encrypted connections nowadays. Even if it's just so you know how to set that up when it gets serious, which is again a big part of my motivation behind writing this blog.
Still at this point I was able to start writing, and so I did. If you are not concerned with enabling your readers to reach you over https, this would be almost enough. The only thing I'd would advise you to do is setting up some kind of backups. In my case the volume functionallity of DigitalOcean was the obvious thing to do. You could also use git or just plain filestorage somewhere kind of safe.
In the next installment of this here blog I'm telling you what I ended up using for the easy https setup. I can tell you - there is a lot of possible solutions.
As always I would be happy seing constructive criticism.