Deploy

Deploy Reactin minutes.

Whether you bootstrapped with Create React App, Vite, or a custom setup, HostingGuru builds and deploys your React app straight from GitHub. No webpack config to debug, no static file servers to manage — just push and ship.

How it works

Steps

1. Connect your GitHub

Sign up and install the HostingGuru GitHub App. We'll list all your repositories — pick the one with your React project.

2. We detect React

HostingGuru reads your package.json and identifies whether you're using react-scripts, vite, or a custom build setup. We determine the correct build command and output directory automatically — build/ for CRA, dist/ for Vite. If you have a custom configuration, we fall back to your npm run build script and detect the output from there.

3. Your app is live

Your React SPA is built with production optimizations — minified, tree-shaken, and code-split. We serve it with proper cache headers and handle client-side routing so deep links and refreshes work without 404s. Your users get a fast, production-ready experience from the first visit.

What you get

React deployment with zero config

Vite, CRA, Parcel — all auto-detected

We read your package.json scripts, identify the bundler from your dev dependencies, and run the build command (npm run build) automatically. Output goes to dist/, build/, or wherever your tool puts it — we figure it out.

SPA routing without 404s

Client-side routing (React Router, TanStack Router, Reach Router) needs every unknown URL to fall back to index.html. HostingGuru does that automatically — no _redirects, no rewrites config, no server-side fallback to wire yourself.

Env vars wired to the right prefix

Vite uses import.meta.env.VITE_*. CRA uses process.env.REACT_APP_*. Both are baked into the build at build time from the env vars you set in HostingGuru. Toggle a feature flag without recompiling locally — set the env var, redeploy.

CDN-cached assets, immutable hashes

Hashed asset filenames (main.4a3b9c.js) get aggressive cache headers — one-year immutable. index.html is served fresh every time so users always get the latest entry point referencing the right hashed bundles.

Build cache for fast incrementals

Your node_modules and bundler cache survive between deploys. The first build of a fresh project might take 90 seconds; subsequent deploys finish in 20–30 seconds because nothing reinstalls or rebuilds when nothing changed.

Always-on portfolio hosting

A static React site on the Starter plan stays live indefinitely with HTTPS, free, no credit card. Replace your GitHub Pages setup if you want a custom domain (Hobby plan) without configuring DNS for an organization.

Ready to deploy your React app?

From GitHub to production in under 5 minutes. No credit card needed.

No credit card required 1 service free forever Free SSL & custom domain Never sleeps on free tier
Quick answers

Key facts and common questions

React hosting on HostingGuru is a managed Platform-as-a-Service that builds and runs your React application directly from a GitHub repository, without you operating servers, container registries, or build pipelines.

What is the fastest way to deploy a React app on HostingGuru?

Install the HostingGuru GitHub App on the repository, pick the branch, and click Deploy. HostingGuru detects react in package.json, runs npm run build (or your custom build command), and serves the build/ or dist/ directory as a static site with SPA fallback to index.html. The first deploy of a standard React project finishes in about 2–4 minutes.

How long does a React deployment take on HostingGuru?

A Vite or CRA React app with 60 dependencies builds in 60–120 seconds. Subsequent deploys reuse node_modules from the dependency cache and finish in 30–60 seconds.

Which React versions does HostingGuru support?

HostingGuru supports React 17, 18, and 19 — and any tooling that emits a static build/ or dist/ directory (Vite, CRA, Parcel, Rsbuild, Webpack).

How much does it cost to deploy a React app on HostingGuru?

The Starter plan is free for one always-on React service. Hobby is $19/month for 3 services on shared infrastructure. Pro is $35/month for 10 services on a dedicated CX22 server. See pricing for the full plan matrix.

Related guides