After months of Beta testing, Kinsta is making Static Site Hosting available to anyone who needs to serve up HTML pages and assets like JavaScript and CSS files at lightning-fast speed.

Kinsta can build and push your static site project to the 260+ data centers in the Cloudflare global network — and we do it for free.

Wait! Fast and free?

Yes, and to help explain how we do that, let’s back up and answer the question: What is a static website?

Static Site Basics

“Static Site Hosting serves files without any kind of backend processing,” says Andras Gerencser, Director of Development at Kinsta. “This simplicity makes it an efficient, high-performance hosting option.”

Gerencser says typical components of a static website — HTML, CSS, JavaScript, and media files — can be delivered to browsers without being generated dynamically by code running on a server.

“Some basic examples include personal portfolios, CV websites, simpler business websites, marketing pages, or documentation sites,” he says. “It’s also possible to use static site generators to compile static assets from other sources, such as Markdown files or a CMS.”

Michael Fuller, a JavaScript developer at Kinsta who helped launch Static Site Hosting, adds that static site generators turn those inputs into “a working website”:

“They do this by providing themes, plugins, and automating repetitive tasks such as replacing text, creating links between pages, image optimization, code minification, or converting a document into HTML,” he says.

And Gerencser points out that “static sites” can be more dynamic than that label implies.

“You can use Static Site Hosting to set up a frontend with any kind of backend, such as a Node.js service on our Application Hosting platform or a headless WordPress running on our Managed WordPress Hosting platform,” he says.

Fuller calls that a “mixed approach”:

“Since JavaScript is usually served as a static asset, you can create a static site that uses a JavaScript framework to talk to a server managed separately,” he says. “This way, you get the speed benefits in your initial load times, combined with the flexibility of a dynamic site.”

What You Get for Free With Static Site Hosting

In addition to the tools used to build and deploy your static sites, free SSL certificates, support for custom domain names, and an optional API for site management, Kinsta’s free hosting is available for those whose projects adhere to the following (generous) limits:

  • 100 static sites per company
  • 1 concurrent build per site
  • 1 GB build image size per site
  • 600 build minutes per month per company
  • 100 GB bandwidth per month per company

How Static Site Hosting Works at Kinsta

Developers deploying a static site with Kinsta begin with their project in a Git repository hosted by BitBucket, GitHub, or GitLab. A connection to the Git repository and configuration settings required to build and deploy the site is managed through MyKinsta.

But your website doesn’t have to be built using a static site generator. As long as you can get your static web assets into a repository at one of the supported Git hosts, your project can be deployed as a static site.

Screenshot: Creating an initial static site in MyKinsta.
Getting started with your first static site in MyKinsta.

When you add a static site that is built when deployed, MyKinsta can automatically detect the build settings required by a variety of popular static site generators:

Screenshot: Suggested static site build settings.
Build settings detected for a project using Astro to generate a static site.

“After that,” says Gerencser, “MyKinsta passes the files from your repository to an isolated pod in one of our Kubernetes clusters, which can run your build command if needed. The output — your static files — will then be uploaded to Cloudflare’s R2 storage.”

“This means that your files are distributed to more than 260 Cloudflare servers around the world — always delivering them from the nearest location to your website visitors,” he says.

Diagram showing the resources used for static site hosting at Kinsta.
A look at the infrastructure behind Kinsta’s Static Site Hosting.

With your static site up and running, you can make it public in style with your own domain name and free SSL support:

Screenshot: Adding a custom domain for a static site.
Adding a custom domain for your static site in MyKinsta

Time to Start Building Your Static Site

If you want to get up and running quickly with Static Site Hosting at Kinsta, see our growing library of quick-start examples for compatible static site generators. These examples include Git repositories you can copy to kick-start your own deployments.

Want to get fancy with your “static” site and generate dynamic content using JavaScript? Combine Static Site Hosting with Application Hosting and Database Hosting to build the backend your web project needs.