# Host a React app for free: publish the build folder

By Avatar 8 (Avatar 8 LLC) · Published December 4, 2026 · Updated December 4, 2026


A React app that runs in the browser is a folder of static files after you build it: an index.html, some JavaScript and CSS, and your images. With Vite that folder is dist by default. Publish that folder to deed.page and you get a permanent https link with no account, no Git repository, and no build step on our side; you run the build on your computer or in your AI coding tool. Turn on SPA mode and a refresh on a client-side route such as /dashboard serves your app instead of a 404. It does not run server code: a Next.js app that needs a server, or an app that expects an API route on the same host, needs a different host.

Paste HTML or Markdown

Or drop files, a folder, or a .zip here

Name (optional)

.deed.page

## Publish a React build in four steps

- Build it. Run npm run build. Vite writes the site to dist; other tools use build or out. Open that folder and check that index.html is inside it.

- Check the base path. For a link of the form https://my-react-app.deed.page/ the app lives at the root of its own address, so leave Vite's base at its default of '/'. (A host that serves your app under /repo-name/, such as a GitHub Pages project site, is why that setting exists.)

- Publish the folder. Drop the dist folder (or a zip of it) into the box above, or publish it from a terminal or an AI agent with SPA mode on (command in the SPA mode post linked below). Pick a name, press Publish, and keep the owner token shown once: it is what lets you update the app later at the same address.

- Turn on SPA mode if the app uses a router such as React Router. Real files still win first, and any other path serves index.html so the router can draw the page. [How SPA mode works](https://deed.page/blog/spa-mode-client-routes).

## Update it without changing the link

Build again and publish to the same name with your owner token: the files are replaced and the address stays the same. Free keeps the last 5 versions and Hobby the last 50. Nothing rebuilds on its own; deed.page hosts the output, not your source.

We tested this recipe on December 4, 2026 with a small built folder (index.html plus a JavaScript file) published as a tarball with SPA mode on: the root and an unknown path both returned 200, and the script was served as a file. We did not build a full React app for the test, so check your own routes after the first publish.

Ask an AI coding agent to do the whole loop (build, publish to the same name, report the link) through the MCP server or the publish script; that is the usual way an app made in Cursor, Claude Code, or Codex ends up online.

## Your own domain and the limits

Free includes 1 custom hostname and sites up to 25 MB, across 25 sites, with no expiry. Point your domain at the app with the owner token ([how](https://deed.page/attach-custom-domain)). Hobby ($2.99/month) removes the "Published with deed.page" badge and includes 3 hostnames. Commercial use is allowed on every plan.

## What will not work

deed.page hosts static files only: HTML, CSS, JavaScript, images, fonts, PDFs. There is no server code, database, or login system. Anything that runs in the browser works; anything that needs a server needs another service.

Environment variables compiled into the bundle (a VITE_ key, for example) are public to anyone who opens the app, so never put a secret in one. An app that calls its own backend needs that backend hosted somewhere else, with the app pointing at its full address. Server-side rendering and API routes (Next.js server features, Remix loaders) need a host that runs code.

## Your own domain, and the plan to pick

Publish first and keep the owner token. Then attach the domain with one request (or ask your AI agent to do it). The reply lists the DNS records to add where you bought the domain:

    curl -X POST "https://deed.page/v1/sites/<your-site>/domains" \
      -H "Authorization: Bearer <owner token>" \
      -H "content-type: application/json" \
      -d '{"domain":"www.example.com"}'

- **Free, $0:** 25 sites, 25 MB each, 1 custom hostname, a small "Published with deed.page" badge. No account, no card.

- **Hobby, $2.99/month or $29.99/year:** 250 sites, 100 MB each, 3 hostnames (apex and www), no badge, site passwords, and contact forms.

- **Pro, $14.99/month or $149.99/year:** 2,500 sites, 500 MB each, 20 hostnames, 5 agent seats, and 365-day analytics with CSV.

- Only one site needs to lose the badge? A one-time $8.99 clean publish does that for one site.

[See plans and upgrade](https://deed.page/pricing) [Custom domain guide](https://deed.page/attach-custom-domain)

## deed.page and the usual alternatives

Each row is what the service states on its own page, checked on December 4, 2026. Plans change, so follow the links before you decide.

| Host | Free option | Your own domain | How you publish |
| --- | --- | --- | --- |
| [Netlify](https://www.netlify.com/pricing/) [(Drop)](https://docs.netlify.com/start/quickstarts/netlify-drop-quickstart/) | $0 with 300 credits a month as a hard limit (a production deploy is 15 credits, bandwidth 20 credits per GB) | Custom domains with SSL on Free | Git, CLI or API, or drag and drop on Netlify Drop; needs an account to keep a site |
| [Vercel](https://vercel.com/docs/limits) [(Hobby plan)](https://vercel.com/docs/plans/hobby) | Hobby is $0 with 200 projects; usage beyond the included amounts pauses features until the next 30-day period | 50 domains per project on Hobby | Git, CLI, or Vercel's own tools with an account |
| [Cloudflare Pages](https://developers.cloudflare.com/pages/platform/limits/) | $0 with a Cloudflare account; 500 builds a month, 20,000 files per site, 25 MiB per file | Up to 100 custom domains per project on Free | Git integration or direct upload with an account |
| [GitHub Pages](https://vite.dev/guide/static-deploy) [(limits)](https://docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits) | $0 with a GitHub account; sites up to 1 GB, 100 GB a month soft bandwidth | Custom domains supported | A GitHub repository plus a Pages workflow (the Vite guide gives one); a project site served under /repo-name/ needs the app's base path set to match |
| deed.page | $0 with no account or email: 25 sites, 25 MB each, no expiry, small badge | 1 hostname on Free; Hobby ($2.99/month) includes 3 and drops the badge; Pro 20 | Paste or drop files in the browser, one curl command, or an AI agent over MCP |

### Where they are ahead

- Netlify, Vercel, and Cloudflare Pages build from Git: push a commit and a new version is live, with preview deployments, and they run server-side code or functions. deed.page publishes the build you give it and runs nothing. [(source)](https://www.netlify.com/pricing/)

- Cloudflare Pages Free allows 100 custom domains per project and 20,000 files per site, well above a typical React app's needs, and it sits on Cloudflare's network. [(source)](https://developers.cloudflare.com/pages/platform/limits/)

- GitHub Pages is free with custom domains and keeps every change in your repository's history; the Vite guide has a ready workflow. It is limited to a public repository on the Free plan, and its rules say it is not for running an online business or e-commerce site. [(source)](https://docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits)

Pick deed.page when the site is static files, should stay up without anyone logging in, and should be cheap on your own domain. Pick one of the others when you want their editor, their community, or server-side code.

## From a terminal or an AI agent

The same publish is one request. Replace with a few characters of your own. For a folder, pack it from inside with tar -C ./site -czf site.tar.gz . and send site.tar.gz instead of index.html:

    curl -T index.html "https://deed.page/v1/sites?slug=my-react-app-<random>&ref=uc-react-app" -H "X-Client: <your agent name>"

The JSON reply has the url and the owner token. Agents that speak MCP call publish_site on [https://deed.page/mcp](https://deed.page/mcp). The full API is in the [docs](https://deed.page/docs).

## Questions

### How do I host a React app for free?

Run the build, then publish the build folder (dist for Vite) in the box on this page or with one curl command. You get a permanent link with no account. Free is $0.

### Why does a refresh on a route show a 404?

A static host serves real files, and a client-side route like /dashboard is not a file. Publish with SPA mode on and unknown paths serve index.html so the router can handle them.

### Does it work with Create React App, Vite, or Next.js?

Anything that outputs a static folder works: Vite and other bundlers, and a Next.js static export. A Next.js app that uses server rendering or API routes does not, because deed.page runs no server code.

### Can I use my own domain?

Yes. Free includes 1 custom hostname; deed.page returns the DNS records to add at your registrar.

### Does it rebuild when I push to GitHub?

No. deed.page hosts files you publish; it does not connect to a Git repository or run your build. Publish again after each build, or have an agent or CI job do it.

## Related

- [Host a vibe-coded app or website](https://deed.page/use-cases/host-vibe-coded-app)

- [SPA mode for client-side routes](https://deed.page/blog/spa-mode-client-routes)

- [How to host a Google AI Studio app outside Google](https://deed.page/blog/host-a-google-ai-studio-app)

- [Attach your own domain](https://deed.page/attach-custom-domain)

- [Plans and limits](https://deed.page/pricing)

## Other use cases

- [Small business website hosting from $0, on your own domain](https://deed.page/use-cases/small-business-website-hosting)

- [Landing page hosting: free, with your own domain](https://deed.page/use-cases/landing-page-hosting)

- [Hosting websites for clients: many sites on one plan](https://deed.page/use-cases/hosting-websites-for-clients)

- [Free HTML5 game hosting: put a browser game online](https://deed.page/use-cases/html5-game-hosting)

- [Portfolio website hosting: free, on your own domain](https://deed.page/use-cases/portfolio-website-hosting)

- [Host a vibe-coded app or website, free and permanent](https://deed.page/use-cases/host-vibe-coded-app)

- [Simple online store: a static shop page with payment links](https://deed.page/use-cases/simple-online-store)

- [Publish a CI test report as a permanent link](https://deed.page/use-cases/publish-test-reports)

- [Publish a document online free: a link anyone can open](https://deed.page/use-cases/publish-documents-online)

- [Host your resume online free: one link, your own domain](https://deed.page/use-cases/host-resume-online)

- [All use cases](https://deed.page/use-cases)

deed.page is run by Avatar 8 LLC. Questions or corrections: ops@avatar33.com.
