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.dev 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.dev 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.dev builds the bundle and serves it for you.
Create a Project
Give it a name and Selfhost.dev 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.dev 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.dev 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
Why Selfhost.dev
React, the easy way.
On a server you control.
Vite, CRA, any SPA
Selfhost.dev auto-detects your build and serves the static output. No build config to wrestle with.
Auto-deploy from GitHub
Every push rebuilds and ships, with PR preview environments and one-click rollback.
A backend in the same place
Add an API service or a one-click database to the same project so your frontend and backend live together.
Custom domain + SSL
Add a domain, verify DNS, and HTTPS is provisioned and renewed automatically.
A server you control
Your app runs on a dedicated server with live metrics and full logs.
Pay only for what you run
Billed by the hour against prepaid credits, from ~$0.02/hr. Pause and pay nothing.
Drive it from your AI editor
Trigger deploys, stream logs, set env vars, and add domains from Claude, Cursor, or any MCP client: 150+ MCP tools.
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.