Deploy
Deploy Next.js, without the Vercel bill.
Run your Next.js app on a dedicated server you control, deployed straight from GitHub, with a flat, predictable bill instead of Vercel usage and bandwidth charges. Selfhost.dev auto-detects the build and runs it for you, no server to manage, no surprise invoice.
What you get
Next.js, your way.
On a server you control.
Selfhost.dev detects your Next.js project from GitHub with Nixpacks, runs next build, and serves it (SSR via next start, or a static export) on a dedicated server. You get the deploy-from-GitHub experience with auto-deploy and PR previews, but on infrastructure you can see, billed at a flat hourly rate rather than per-request and per-GB.
Deploy in 5 steps
From zero to live.
No server to set up.
The push-to-deploy flow you expect, on a server you control and a bill you can predict.
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 Next.js and runs next build.
Set your environment variables
Add your NEXT_PUBLIC_ keys, API URLs, and secrets, 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 serves your app (SSR or static) with live logs and health checks. Every push redeploys, with PR preview environments and one-click rollback.
Environment variables
Configure it
in minutes.
Set build-time and runtime variables per service, paste a .env to import in bulk:
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
Next.js, the easy way.
On a server you control.
SSR or static
Server-rendered Next.js via next start, or a static export, both deploy from your repo.
A predictable bill
A flat hourly rate per server instead of Vercel per-request, per-function, and per-GB egress charges.
A server you control
Dedicated compute with live metrics and full logs, your app and its data on infrastructure you control.
Auto-deploy + PR previews
Every push ships automatically, with isolated preview deployments for pull requests and one-click rollback.
Custom domain + SSL
Add a domain, verify DNS, and HTTPS is provisioned and renewed for you.
A database beside it
Add a one-click PostgreSQL, Redis, MySQL, or MongoDB to the same project.
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.
Why move off Vercel
Vercel is excellent for getting started, but its usage-based pricing means a busy month can cost several times a quiet one. On Selfhost.dev, a Next.js app runs on a flat hourly server rate, so the bill stays the same whether traffic doubles or flatlines. See the full Vercel alternative breakdown.