Deploy
Deploy your React app,
on a server run for you.Build and serve a React app, Vite, Create React App, or any single-page app, straight from GitHub. SelfHost builds the static bundle and serves it on a dedicated server, with auto-deploy on push and a custom domain handled for you.
What you get
Your React app, built and served.
On infrastructure you control.
SelfHost detects your React project from GitHub, runs your build (Vite, Create React App, or any static build), and serves the output on a dedicated server. Point a domain, and every push rebuilds and ships automatically. Pair it with a backend service or a database in the same project when you need one.
Deploy in 5 steps
From zero to live.
No server to set up.
From repo to a live URL in a few steps. SelfHost builds the bundle and serves it for you.
Create a Project
Give it a name and SelfHost provisions a dedicated server for you in a couple of minutes.
Add your GitHub repo
Connect the GitHub App or paste a public repo URL and pick a branch. SelfHost auto-detects the build (Vite, Create React App, or static).
Set build-time variables
Add your VITE_ or REACT_APP_ variables (such as the API base URL), or paste a .env to import them in bulk.
Point your domain
Use the default wildcard subdomain on selfhost.dev, or add your own: set the DNS records, verify, and HTTPS goes live automatically.
Deploy
SelfHost builds the bundle and serves it. Every push redeploys, with PR preview environments and one-click rollback.
Environment variables
Configure it
in minutes.
React build-time variables are baked into the bundle at build, set them per service:
Paste a .env to import in bulk, or set keys one by one. Values are wired into every build and deploy.
Key variables
What you get
React, the easy way.
On a server you control.
SelfHost auto-detects your build and serves the static output. No build config to wrestle with.
Every push rebuilds and ships, with PR preview environments and one-click rollback.
Add an API service or a one-click database to the same project so your frontend and backend live together.
Add a domain, verify DNS, and HTTPS is provisioned and renewed automatically.
Your app runs on a dedicated server with live metrics and full logs.
Billed by the hour against prepaid credits, from ~$0.02/hr. Pause and pay nothing.
Frontend and backend together
A React SPA often needs an API. Deploy your backend (Node, Python, Go, or a Dockerfile) and your database into the same project, so your whole app lives in one place instead of stitched across platforms.