My $4/month self-hosted web server setup
This blog documented my setup for self-hosting a web server. Hopefully this is helpful for others to get started with hosting your web server. I was intimated by all the potential cost and complexity before, but after all, it was not that complicated.
It starts from renting a virtual machine and setting the machine up, to running my web servers in containers, setting DNS records, running Nginx and monitoring tools. All cost me on average less than $4 a month. Including the cost of renting my own domain, it is still less than $5 per month on average.
It gave me a lot of fun to tinker with things. It allows me to host more than 1 web server on the same machine using nginx. I would like to share the steps, thought process and learnings in details.