Deploy React Router to your own server.

Depfloy builds your React Router app on the server and runs it as a supervised Node process behind nginx. A failed build is never linked, so the previous release keeps serving while you read the log.

What runs on the server
Runtime
Node 24
Releases
Zero-downtime symlink flip
Rollback
One click; rebuild depends on runtime and retained releases
The deploy script Depfloy runs
npm ci
npm run build
DPM watches the app itself

The serve command runs with exec, so DPM — the process manager Depfloy installs on the server — tracks the actual Node process. Memory figures are real and a stop signal reaches the app rather than a shell. DPM is a systemd service enabled at boot and keeps its process list on disk, so a reboot restores what was running.

One server, several apps

Each project gets its own port and nginx site, so a single machine can carry a marketing site, an admin app and a staging copy without interfering.

SSL is handled for you

Certificates are requested and renewed automatically per domain, including the ones you add later.

This site runs on the same model it describes: a React Router app was the previous generation of depfloy.com, deployed to a Depfloy-managed server.

FAQ

React Router questions

Does this support the framework mode with SSR? +
Yes. The production server your build produces is what Depfloy runs, so SSR and data loaders work unchanged.
Can I deploy a SPA build instead? +
Yes. A static build is served by nginx directly, with no Node process to supervise.
How are deploys triggered? +
A push to the connected branch, a click in the dashboard, the CLI, or an agent over MCP — all four run the same release.
We run these under PM2 today. What happens to those processes? +
Depfloy does not use PM2. Node apps run under DPM, and the DPM repository ships a migration script that reads the PM2 processes and Supervisor programs already on the server and moves them across, with a --dry-run flag to show the plan first.

9 other frameworks deploy the same way.

The release model is identical; only the build steps differ.

Deploy React Router to your own server.

7 days free, no credit card. Your servers keep running exactly as Depfloy configured them.