Hugo hosting without the per-site pricing

Deploy Hugo sites to servers you own

Hugo builds thousands of pages in under a second. Hatchbox runs that build on your server and serves the result over HTTPS from Caddy — as many sites per server as you want.

Includes a 7 day free trial. $10 per server per month after that — unlimited apps.

Hugo is the fastest static site generator around, and static sites are the cheapest thing you can possibly host. Hatchbox spots hugo.toml in your repository, downloads Hugo, checks out your git submodules, and runs the build. Because Hugo writes to public/ by default, it lines up with the directory Caddy serves from with no configuration at all.

The submodule step matters more than it sounds: most Hugo themes are installed as git submodules, and plenty of static hosts make you work around that. Here it just happens.

Why deploy Hugo with Hatchbox

Zero configuration document root

Hugo writes to public/, and that's already where Hatchbox's Caddy config points. Build and you're done.

Themes as submodules just work

Hatchbox checks out your git submodules before building, so themes installed the normal Hugo way need no special handling.

Unlimited sites per server

Static sites use almost nothing. Run a dozen Hugo sites on one $6 droplet and pay Hatchbox once.

SSL for every domain

Caddy handles Let's Encrypt for your domains automatically, including On-Demand TLS if you're serving custom domains for other people.

What customers say

I run 15+ Rails apps and static sites with Hatchbox. My bill went from $400/month on Heroku to $28/mo with Hatchbox & DigitalOcean combined.

Donn Felker

Software Professional

If you want the most bang for your buck, Hatchbox / Hetzner / DigitalOcean is the killer combo. You can throw sooo much at this and it's crazy how inexpensive it is.

Josh Pigford

Serial Entrepreneur

Applications deployed
24,000+
Deployments run
2 million+
Deploying since
2016

Read more customer stories

How to deploy a Hugo site

Four steps, and publishing becomes a git push.

  1. Connect a server

    A small Ubuntu LTS server is more than enough. Static files barely touch the CPU.

  2. Commit a hugo.toml

    That's the file Hatchbox looks for to recognize a Hugo site. If you already have one, there's nothing to do.

  3. Connect your repository

    Pick the repo and branch, and enable auto-deploy so writing a post and pushing is the whole publishing workflow.

  4. Deploy

    Hatchbox runs bin/hugo --gc --minify, promotes the release, and Caddy serves it over HTTPS.

What Hatchbox does for you

Detection is the presence of hugo.toml in your repository. Everything below happens without configuration — there's no build script to write.

Build steps it runs

  1. Downloads the latest version of Hugo
  2. Checks out any git submodules, so submodule-installed themes are in place
  3. Builds the site
bin/hugo --gc --minify

Serving

The build writes static files to public, which Caddy serves directly with compression and automatic SSL. There's no application process in the request path.

Hugo deployment questions

Still stuck? Ask us directly — a real person who has deployed a lot of Hugo apps will answer.

Simple, predictable pricing.

We charge per server, not per app. Run one application or twenty on the same box — the bill doesn't change.

Start free trial

$10

/server/mo
  • Unlimited applications
  • Deploy anywhere
  • Zero downtime deployments
  • Custom domains & free SSL
  • Databases, cron jobs & background workers
  • Full SSH access to your servers
  • Real, human support
  • 7 day free trial

One server, one bill, as many apps as it can hold. Run any of these alongside your Hugo app for no extra cost.

See every framework we deploy

Ready to deploy your Hugo app?

Hatchbox has run more than 2 million deploys across 24,000+ applications since 2016. Start a 7 day free trial and put yours on a server you own.