NEW
New: Deploy your application in minutes with Shard AI

Publish your static site with a free HTTPS address.

Host HTML, CSS and JavaScript files or the static build of your React, Vite or Astro project with nginx. Every application gets a free *.shardweb.app HTTPS address; connect your own domain with Core or higher.

A public address for your build

nginx

static HTML, CSS and JavaScript

index.html + .shardcloud

index.html and static assets

*.shardweb.app

free HTTPS address for every application

Core+

custom domains from Core

Static site hosting

From HTML pages to compiled frontend builds.

Deploy the files visitors load in their browsers. Projects that require server rendering or a backend process need an application runtime instead.

Explore capabilities

HTML websites

Publish HTML pages, stylesheets, images and JavaScript for a portfolio, landing page or documentation site.

React and Vite builds

Build your frontend for production and deploy its generated files. Check client-side routes as well as the homepage before launch.

Astro static sites

Deploy Astro output generated in static mode. Astro projects using server rendering need a runtime that runs their server.

Publish and operate

nginx hosting with HTTPS and custom domains.

The static runtime serves browser-ready files through production-configured nginx, CDN delivery and automatic optimization. The deployment guide covers the current configuration format.

Static files and assets

Deploy the complete browser-ready output: its entry page, stylesheets, JavaScript and assets.

Production nginx and CDN delivery

Choose the static runtime to serve browser-ready HTML, CSS and JavaScript through the platform's production-configured nginx, with CDN delivery and automatic optimization.

Persistent project files

Keep static assets on the 10 GB persistent disk across application restarts.

Your own domain from Core

Connect a custom domain with the Core plan or higher when you are ready to publish under your brand.

Application logs and metrics

Use application logs and resource metrics in the dashboard to inspect your deployment.

Automatic restart

Application processes restart automatically; use dashboard logs to investigate a deployment that does not start.

Deployment setup

How to host a static site on Shard Cloud.

Prepare the production files, deploy with the static runtime and test the published site.

Get started
01
Prepare your site
Put index.html, CSS, JavaScript and assets in the project root. For React, Vite or Astro, upload the production build output with .shardcloud.
02
Configure the deployment
Configure .shardcloud and upload the archive. Static sites need at least 256 MB; use 512 MB for public web publication.
03
Verify the published site
Open the *.shardweb.app address and check that every page and asset loads.

From connection to the first decision, in one flow.

Frequently asked questions

Frequently asked questions about Static hosting

Put index.html in the root of your project and set MAIN=index.html in .shardcloud. Keep your CSS, JavaScript, images and other referenced files alongside it so every path resolves.

No. Every application receives a free HTTPS address under *.shardweb.app. Connecting your own domain is available with Core or a higher plan.

Static hosting runs your website as an application served by nginx, with its own public address. The CDN resource provides file storage and delivery for assets such as images and downloads. Choose static hosting for the website itself and CDN for assets you want to store and deliver separately.

Static sites need at least 256 MB. Use 512 MB for public web publication, then increase memory only when observed usage requires it.

The static runtime serves the deployed files through nginx, so no application server needs to bind a port.

Ready to move forward

Give your static build a public address.

Publish HTML or a frontend build with nginx and free HTTPS. Compare the current plans below.

Production files ready
Locate index.html and the assets generated by your production build.

Deployment guide reviewed
Review the current static configuration guide, then confirm the site and its assets load at the public address.

Publish your static site
Create an application with the static runtime and test its HTTPS address.

A plan for every stage of your project

Rated 4.9/5 on TrustpilotTrusted by 50,000+ developers

Basic plan

Perfect for freelancers or individuals who need to host applications and bots.

$1.52/mo
1-2GB RAM
1-2 vCPU
4-8 projects
5-10GB CDN

Core plan

For small teams and startups that need infrastructure for multiple projects.

$4.15/mo
4-8GB RAM
4-5 vCPU
16-32 projects
35-100GB CDN
Connect your own custom domain

Pro plan

Built for scaling companies with high project volume and advanced support.

$11.75/mo
12-24GB RAM
6-10 vCPU
48-96 projects
150-250GB CDN
Load balancers
Automatic backups