Chajio Cloud
App Hosting

Static Site Hosting

A folder of HTML, CSS and JavaScript is all it takes. Push it to GitHub and it is live over HTTPS on your own domain in under two minutes, then again on every push.

$ git push origin main
▸ No Dockerfile - detecting your stack
▸ Serving it as a static site (HTML)
▸ Build-time variables: none
▸ Stack: Static web server · HTML
✓ Live: https://my-site.live.chajio.cloud

How it works

How we build and run your static site

  1. Detect

    An index.html at the root of your repository, or in public/, with no other language’s files, is a static site. There is nothing to install or build.

  2. Choose the folder

    With your site in public/, only that folder is served. With index.html at the root, every file in the repository is.

  3. Serve

    Files are served over HTTPS and compressed automatically. A folder serves its own index.html, so /blog/ serves blog/index.html.

  4. Update

    Every push publishes the whole site again, usually in under two minutes. If a change breaks something, roll back in a click.

Get ready

Getting your static site ready

Your repository
README.md            not served
public/
  index.html         /
  about/index.html   /about/
  contact.html       /contact.html
  css/style.css
  js/main.js
  img/logo.png

Keep the site in public/ and your README, notes and drafts stay private. A page in its own folder, such as about/index.html, gets a tidy address: /about/.

index.html
<a href="/about/">About us</a>
<a href="/contact.html">Contact</a>

Link to pages as they are named. /contact.html works, but /contact without the .html returns 404.

Works with

What you can run

Hand-written HTML

HTML, CSS and JavaScript, as you wrote them.

HTML templates

A downloaded template, unzipped into public/.

CSS frameworks

Bootstrap or Tailwind, from a CDN or committed files.

Generated sites

The output of Hugo, Jekyll or Eleventy, committed to public/.

Landing pages and portfolios

One page or fifty, on your own domain.

Vite apps

Vue and React apps with a build step. See their pages.

In production

Running your static site in production

Keep private files out

With index.html at the root, anything committed, a notes.txt or a .env, can be downloaded by anyone. Put the site in public/, or remove those files from Git.

Links need the .html

Write /about.html, or give each page its own folder (about/index.html) and link to /about/. Visiting /about then redirects to /about/.

Missing pages

A missing page returns a plain “404 Not Found” with the right status code. A 404.html of your own isn’t used.

No package.json, unless you build

A package.json without Vite turns the repository into a Node.js app, and so does a Procfile or an index.php. If you use one only for tools on your computer, commit the built files and leave it out.

Every plan

Included on every plan

2 replicas of every app

Two copies behind a load balancer, so a restart or a failed machine never takes you offline.

A managed database

PostgreSQL, MariaDB or MongoDB, with its own standby replica on another machine.

Deploy on every push

Connect GitHub once; every push to your branch builds and goes live.

One-click rollbacks

Go back to any earlier successful deployment from the Deployments tab.

Free SSL, your domain

Certificates issued and renewed for you, plus a free .live.chajio.cloud address.

Build and runtime logs

Watch builds as they run, and see what your app prints as it serves visitors.

CPU, memory and network

Metrics for every app, from the last 15 minutes to the last 30 days.

Zero-downtime deploys

A new version takes visitors only once its health check passes.

Pricing

Static site hosting plans

Free Plan

5GB DB Storage · 2GB RAM

Free 1st month

Then $3.50/mo

  • 2 vCPU
  • 2 Apps
  • 1 Database
  • 2 App Replicas (HA)
  • 2 Database Replicas (HA)
  • PostgreSQL, MariaDB or MongoDB
  • Deploy from GitHub
  • Auto-deploy on push
  • One-click rollbacks
  • Deployment history
  • Build & runtime logs
  • CPU, RAM, disk & network metrics
  • Disk usage tracking
  • Environment variables
  • Custom domain
  • Free SSL
Start Free

Growth Plan

10GB DB Storage · 2GB RAM

$8.99/mo
  • 3 vCPU
  • 4 Apps
  • 2 Databases
  • 2 App Replicas (HA)
  • 2 Database Replicas (HA)
  • PostgreSQL, MariaDB or MongoDB
  • Deploy from GitHub
  • Auto-deploy on push
  • One-click rollbacks
  • Deployment history
  • Build & runtime logs
  • CPU, RAM, disk & network metrics
  • Disk usage tracking
  • Environment variables
  • Custom domain
  • Free SSL
Choose Growth
Most Popular

Business Plan

20GB DB Storage · 4GB RAM

$18.99/mo
  • 4 vCPU
  • 6 Apps
  • 3 Databases
  • 2 App Replicas (HA)
  • 2 Database Replicas (HA)
  • PostgreSQL, MariaDB or MongoDB
  • Deploy from GitHub
  • Auto-deploy on push
  • One-click rollbacks
  • Deployment history
  • Build & runtime logs
  • CPU, RAM, disk & network metrics
  • Disk usage tracking
  • Environment variables
  • Custom domain
  • Free SSL
Choose Business

Pro Plan

30GB DB Storage · 8GB RAM

$37.98/mo
  • 8 vCPU
  • 10 Apps
  • 5 Databases
  • 2 App Replicas (HA)
  • 2 Database Replicas (HA)
  • PostgreSQL, MariaDB or MongoDB
  • Deploy from GitHub
  • Auto-deploy on push
  • One-click rollbacks
  • Deployment history
  • Build & runtime logs
  • CPU, RAM, disk & network metrics
  • Disk usage tracking
  • Environment variables
  • Custom domain
  • Free SSL
Go Pro

FAQ

Static site hosting questions

No. A repository with index.html at its root, or in a public folder, and no other language is served as it is. If your site does have a build, such as a Vue or React app made with Vite, the build runs for you.

Addresses match files, so /about.html works and /about returns 404. Link to the .html file, or move the page to about/index.html and link to /about/.

No. A missing page returns a plain 404 Not Found page, with the correct status code for search engines, and a 404.html of your own isn’t used.

Both can serve an HTML site. Web hosting adds email accounts, a control panel, PHP and one-click WordPress, and suits most business websites. Static site hosting suits a site kept in GitHub that you want published on every push.

Yes. Add it on the Domains tab, prove you own it with a DNS record, and an SSL certificate is issued for it automatically. Every site also gets a free .live.chajio.cloud address.

You can start on the Free plan: free for your first month, then $3.50 a month, with 2 vCPU, 2GB RAM, 2 apps and a managed database. The Growth, Business and Pro plans add more CPU, memory, apps and databases as you grow.

Plans are priced and billed in US dollars, and you pay by card at checkout.

Deploy your static site today

Your first month is on us, with a managed database and two replicas from day one.