- Home
- Frameworks
- Hugo
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
How to deploy a Hugo site
Four steps, and publishing becomes a git push.
-
Connect a server
A small Ubuntu LTS server is more than enough. Static files barely touch the CPU.
-
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.
-
Connect your repository
Pick the repo and branch, and enable auto-deploy so writing a post and pushing is the whole publishing workflow.
-
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
- Downloads the latest version of Hugo
- Checks out any git submodules, so submodule-installed themes are in place
- 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.
git submodule add way of installing a theme works without any extra steps.
hugo.toml file in your repository. That's the whole configuration — Hatchbox picks up the rest from there.
Simple, predictable pricing.
We charge per server, not per app. Run one application or twenty on the same box — the bill doesn't change.
$10
- 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
Deploy more than Hugo
One server, one bill, as many apps as it can hold. Run any of these alongside your Hugo app for no extra cost.
- Ruby Deploy Ruby on Rails Rails deployment without the platform tax
- Ruby Deploy Hanami Hanami hosting on infrastructure you control
- Ruby Deploy Bridgetown Bridgetown hosting with full server access
- Ruby Deploy Jekyll Jekyll hosting with real server access
- Ruby Deploy Middleman Middleman hosting on your own infrastructure
- JavaScript Deploy Astro Astro hosting with no vendor lock-in
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.