Deploy

Deploy Static Sitesin minutes.

Push your HTML, CSS, and JavaScript — or your Hugo, Jekyll, Gatsby, or Eleventy project — to GitHub and HostingGuru serves it instantly. No build pipeline to configure, no web server to manage. Just fast, cached, HTTPS-served static files.

How it works

Steps

1. Connect your GitHub

Sign up and install the HostingGuru GitHub App. We'll list all your repositories — pick the one with your static site.

2. We detect your static site

HostingGuru checks for static site generators first — hugo.toml for Hugo, _config.yml for Jekyll, gatsby-config.js for Gatsby, .eleventy.js for Eleventy. If none are found, we look for an index.html in the root or common output directories like public/, dist/, or build/. The build command and output directory are configured automatically for each generator.

3. Your app is live

Your static files are served with optimized cache headers — immutable hashes for assets, short TTLs for HTML. Pages load instantly with proper gzip compression and correct MIME types. Custom 404 pages are detected and served automatically, and single-page app routing works if you include a redirect rule. Your site is production-ready the moment it deploys.

What you get

Static site hosting that scales to zero work

Hugo, Jekyll, Astro, Eleventy, Gatsby auto-detected

We identify your generator from config.yml, config.toml, astro.config.mjs, .eleventy.js, gatsby-config.js, or package.json scripts. The right build command runs (hugo, bundle exec jekyll build, npm run build) and the output directory is detected automatically.

CDN cache headers from build output

Hashed asset filenames get one-year immutable cache headers. HTML files are served fresh every request so a deploy is visible immediately. _headers file in the build output (Netlify-style) is honored if present.

Redirects and rewrites via _redirects

Drop a _redirects file in your output and we apply the rules — exact-match redirects, splat redirects, and SPA fallback (/* /index.html 200) all work. No rewrite rules to author in a separate config.

Custom 404 page

If 404.html exists in your build output, we serve it for any unknown path with a real 404 status. Your branded not-found page works whether your generator is Hugo, Astro, or hand-rolled HTML.

Build cache for instant rebuilds

node_modules, gem cache, Hugo module cache, and your generator's intermediate output survive between deploys. A blog post change that doesn't touch the layout finishes building in 5–10 seconds, not 60.

Free static hosting forever

A documentation site, a portfolio, a marketing page — all run on the Starter plan free, with HTTPS, indefinitely. Hobby plan adds a custom domain. There is no per-build minute cap and no bandwidth surprise.

Ready to deploy your static site?

From GitHub to production in under 5 minutes. No credit card needed.

No credit card required 1 service free forever Free SSL & custom domain Never sleeps on free tier
Quick answers

Key facts and common questions

Static site hosting on HostingGuru is a managed Platform-as-a-Service that builds and runs your Static site application directly from a GitHub repository, without you operating servers, container registries, or build pipelines.

What is the fastest way to deploy a Static site app on HostingGuru?

Install the HostingGuru GitHub App on the repository, pick the branch, and click Deploy. A static site on HostingGuru is any project that compiles to HTML, CSS, and JS in a known output folder. HostingGuru detects the framework (or your build command), runs the build, and serves the output with gzip and brotli pre-compression. The first deploy of a standard Static site project finishes in about 2–4 minutes.

How long does a Static site deployment take on HostingGuru?

Static site deploys are fast: a 200-page Hugo site builds and deploys in 45–90 seconds. Subsequent deploys reuse the build cache where possible. Pages are served with Cache-Control: public, max-age=31536000, immutable for hashed assets.

Which Static site versions does HostingGuru support?

HostingGuru auto-detects Hugo, Jekyll, Gatsby, Eleventy, Astro, Next.js static export, Nuxt static generate, and plain HTML/CSS/JS. The build command and output directory are also overridable in the dashboard.

How much does it cost to deploy a Static site app on HostingGuru?

The Starter plan is free for one always-on Static site service. Hobby is $19/month for 3 services on shared infrastructure. Pro is $35/month for 10 services on a dedicated CX22 server. See pricing for the full plan matrix.

Related guides