React hosting for apps built with Vite or Create React App
Deploy a React app the way your AI tool made it. We build it, serve the files it makes and send every route to your app, so client-side routing just works.
- We look for
- vite or react-scripts in your package.json
- Then
- We run your build script and serve the files it makes (dist for Vite, build for Create React App) as a single-page app.
- You need
- A build script.
package.json
{
"scripts": {
"build": "vite build"
}
}Why host React on Cloudzyro
Client-side routing works
Every address that isn't a file goes to your index.html, so React Router and similar routers work on refresh and on shared links.
Fast everywhere
Your built files are cached by Cloudflare close to your visitors, and refreshed the moment a new version goes live.
Connect your backend
Point your app at Supabase, Neon or your own API. Keys go in environment variables, not in your code.
Need server rendering?
Use Next.js and we run it as a Node.js app. See Next.js hosting.
Put your React project online your way
Pick whichever suits you. Every deploy becomes a version you can restore.
From your AI tool
Ask Claude, ChatGPT, Cursor or Codex to put your React project online with Cloudzyro.
Connect your AI toolFrom Git
Connect GitHub, GitLab, Bitbucket or any Git host. Every push to your branch goes live.
Read the Git guideUpload a folder
Drop in your project folder or a zip. We leave out node_modules and build it ourselves.
Read the upload guide
Questions about React hosting
Where should my build output go?
Can I upload a React app I've already built?
Will people see my source code?
Does my site sleep when it's quiet?
Deploy your React project free
Free to start and free for business, with your own domain and every version kept.