Jump to the navigation menu

Static websites are easy to host and deploy

Another reason I like static websites is that they're easy and quick to deploy.

Whether you use write each HTML file by hand or use a static site generator, a simple Web server like Caddy, Nginx or Apache can load and serve your website for everyone to see.

My Sculpin website generates an output_prod directory after I run sculpin generate with my deployable files.

I manage my own server with NixOS that hosts a number of static websites, such as examples from talks and blog posts.

To upload my files onto the server, I just use rsync - a small command line tool to synchronise files between computers.

It's a single command to upload the contents of my output_prod directory to the directory on my server.

No complex CI pipelines or database migrations.

It's fast, simple and minimal.

If you prefer to use a service like Netlify or Vercel, they work great for static websites too.

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an certified Drupal Triple Expert with 18 years of experience, a Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.