Our Books

Learn How to Host a Website

I have been hosting websites for the past 15 years. The website you are in right now? I host that too.

This book teaches how to host your own personal website from scratch. It covers everything from buying your domain name and setting up DNS records to getting your site live on a virtual machine.

Use of simplified cloud services is deliberately avoided to ensure that you understand each step of the hosting process.

I can assure you that this book will not be a AI generated slop. Each chapter is handwritten based on my 15 years of hands on experience in hosting websites.

What this book teaches you?

  • Buying a domain from Namecheap (This will cost you about $2)
  • Buying a Virtual Machine from DigitalOcean (This will cost you about $4)
  • Setting up SSH keys and logging in to your VM
  • Securing and locking down VM access
  • Configuring DNS records in Namecheap to point your domain to your VM
  • Creating a simple static website using Go
  • Going live by hosting the website using Caddy as reverse proxy
  • Ensuring that the web site keeps running all the time using Systemd
  • Securing the website for free by setting up automatic SSL using Caddy and Let’s Encrypt

Pre-requisites

  • You don’t need any prior knowledge of web hosting.
  • Basic Go programming knowledge is helpful but not required.