Roll Your Own Static Site Host on VPS With Caddy Server

I recently had to work on a project with some interesting requirements:

  • Host a static website
  • With a user-friendly file upload process
  • Running on a custom domain
  • With an SSL certificate
  • And have root access to the server (for…reasons)

Most of those requirements would actually be very easy to fulfill with a 3rd party provider, but that last one: that’s the tricky one. Most service providers don’t give you root-level access, which means I’d have to do this all myself on a Virtual Private Server (VPS).

CategoriesUncategorized