Skip to main content
Choose a plan

Free static site hosting.

Push a Vue, Svelte, Astro, Vite or plain HTML site to GitHub and Cloud builds it and serves it through Cloudflare. There is no server of your own to run, so hosting it is free, within fair use.

Plans from $2.50 a month. Cancel any time.

Static sites · production

main · just now

Deploying
  1. Install dependenciesDone
  2. Build the siteDone
  3. Publish the outputDone
  4. Live at the edgeDone
Price
Free
Server
None to run
Builds
On every push
Output
Detected, or named
Routing
index.html fallback
CDN
Cloudflare

Static siteswhat you get

Nothing to run, nothing to size.

Cloud builds the site and serves the files itself, so there is no server to size, run or wake.

  • 01

    Free to host

    One shared web server serves every static site, so there is no server of yours to pay for.

  • 02

    Always fast

    With no server of its own there is nothing to wake, so the first visitor of the day gets the site at full speed.

  • 03

    Outside the app limit

    Static sites don't count toward the 10 apps a plan can run. Each plan includes free ones of its own.

  • 04

    Built on every push

    Push to your branch and Cloud runs the build, then switches to the new files in one step.

  • 05

    Cloudflare in front

    Static files are cached by extension. HTML is not cached, so a new deploy shows at once.

  • 06

    Stays online

    If your plan's balance runs out, apps pause but static sites keep serving.

Frameworks

Bring the one you build with.

Each builds from GitHub and is served the same way. What differs is how Cloud finds the output.

  • Vue

    Built with Vite and served from dist. Vue Router's history mode works, because paths with no file return index.html.

  • Svelte

    A Svelte app built with Vite serves from dist. For SvelteKit, use adapter-static, and name its build folder in settings if Cloud doesn't find it.

  • Astro

    Static Astro sites build to dist, one HTML file per page. Switch off the index.html fallback in settings if you'd rather missing pages didn't show the home page.

  • Vite

    Solid, Preact, Lit or any other Vite build. Cloud finds it from vite.config or a build script that runs vite build.

  • HTML

    No build at all. Upload the files, or push a repository with an index.html in the root.

  • React

    Built with Vite, with single-page routing set up.

    React hosting →

What it costs

Free to host, on every plan.

$0.00

A month for each site

A static site has no server of its own, so hosting it costs nothing. You need a plan for your account, and it is left for anything that runs a server.

Plans: Hobby $2.50, Starter $7.50, Growth $22.50, Scale $67.50 a month in credit.

Getting started

Up and running in three steps.

  1. 1

    Connect the repository

    Cloud detects the framework and its output folder. If it can't find the output, name the folder in settings.

  2. 2

    Set your variables

    Build variables, such as VITE_ ones, are baked into the files, so deploy again after changing one.

  3. 3

    Add your domain

    Point the domain at Cloud and SSL is set up, with Cloudflare in front.

FAQ

Static sites on Cloud, answered.

01.

Are static sites free on Spectivis Cloud?

Yes, within fair use. A static site has no server of its own, so hosting it costs nothing, and every plan includes free static sites. You need a plan for your account, from $2.50 a month.

02.

Which frameworks can I host as a static site?

Vue, Svelte, Astro, React, Solid, Preact, Lit and any other Vite build, plain HTML, and Next.js with output: 'export'. Cloud builds them from GitHub and serves the output.

03.

Can I run Astro or SvelteKit with server rendering?

Not yet. Server output needs an instance, and today Cloud runs Next.js that way.

Next.js on Cloud →
04.

Does single-page routing work?

Yes. Paths with no matching file return index.html, so client-side routers work. You can switch the fallback off in settings.

05.

What happens to static sites if my plan runs out?

They keep serving. Apps with a server pause until you top up, change plan or the month resets.

06.

Is there a limit on free static sites?

They are free within fair use. Free sites have their own storage and bandwidth allowance, and a very busy one past it counts toward your plan.

Something not covered here? Ask us directly.

Plans from $2.50 a month

Your sites, metered by the minute.

Pick a plan, sign in with your Spectivis account and deploy your first site from Git or SFTP.

  • Cancel any time

    Change plan or stop at the end of the month you paid for.

  • Free static sites

    HTML and static sites use no credit, on every plan.

  • Data kept 14 days

    After cancelling, everything is kept 14 days before it is deleted.

  • Top up from $5

    Busy month? Top-ups add credit and last 12 months.