Skip to content
Frontend Hosting

Deploy your frontend. Skip the server setup.

Build your single-page app, upload the production bundle, and publish it on a managed HTTPS subdomain in under a minute.

Included on every plan
portal.pocketbasecloud.com
my-storefrontStatic site deployment
Running
Buildnpm run build
Uploaddist.zip
LiveHTTPS enabled
Deployment completehttps://my-storefront.pocketbasecloud.com
Static outputSPA fallbackHTTPS
How it works

From your machine to a live deployment

Three explicit steps. No server provisioning, DNS configuration, or certificate setup.

01

Build

npm run build

Generate production-ready static files with your framework.

02

ZIP

dist.zip

Package the contents so index.html sits at the archive root.

03

Deploy

HTTPS · Live

Upload from the dashboard and publish to your dedicated subdomain.

SPA framework support

Your single-page app runs here

Deploy a production SPA bundle built with Vite or another client-side build tool. Every application route falls back to index.html so browser routing keeps working.

React

React SPAs built with Vite

Vue

Vue SPAs built with Vite

Svelte

Client-rendered Svelte applications

Vite

Fast production bundles for modern SPAs

Managed HTTPS

Every deployment receives a secure pocketbasecloud.com subdomain.

SPA routing

Deep links resolve to index.html for React Router and Vue Router apps.

Built for PocketBase

Connect directly to your PocketBase API over HTTPS from the browser.

Served from the edge

Your site sits behind Cloudflare’s anycast network, so visitors are answered from a nearby city rather than from one machine.

DDoS absorbed for you

Volumetric attacks are soaked up at the edge before they reach your instance, and the mitigation is unmetered.

Bandwidth we do not count

No per-GB transfer charge and no request meter — a busy month changes your traffic graph, not your invoice.

CLI

Or ship it without leaving the terminal

The portal upload has a one-command equivalent. One deploy runs your build, zips the output, uploads it, and waits for the site to come up.

web — zsh
# once, on your machine
npm i -g @pocketbasecloud/cli
pbc login
# from your project directory
pbc frontend deploy --name web
  building npm run build
  packaging dist/ · 1.2 MB
  uploading waiting for HTTPS
✓ live at https://web.pocketbasecloud.com

The same tool, every day after

  • pbc frontend lsevery site and its status
  • pbc frontend deploy --env stagingship the staging copy
  • pbc environmentswhat this directory targets
  • pbc frontend domain addattach your own domain

The first deploy records the site in pbc.json, so every deploy afterwards is just pbc frontend deploy — no flags.

Read the frontend docs
Frontend Hosting

Your frontend can be live in under a minute

Build locally, upload once, and let PocketBase Cloud handle hosting, HTTPS, and routing.