Deploy Next.js in minutes
Darmi Cloud runs your Next.js app as a real Node server (not just static export), so API routes, SSR, server actions and middleware all work. Connect GitHub and ship in minutes — with the option to self-host the whole platform.
How to deploy Next.js
Darmi Cloud has a dedicated Next.js preset, so there is no configuration to write.
- 1
Sign in with GitHub
Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.
- 2
Import your repository
Click New Project, pick your Next.js repository, and choose the branch to deploy — the default branch is preselected.
- 3
Select the Next.js preset
Choose the Next.js preset. The commands are prefilled (build: npm run build, start: npm run start) — adjust them only if your project differs.
- 4
Add environment variables
Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.
- 5
Deploy and watch it go live
Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.
Preset defaults
- Preset
- Next.js
- Container port
- 3000
- Build command
- npm run build
- Start command
- npm run start
Tips for Next.js on Darmi Cloud
- Server-side rendering, API routes and server actions run out of the box — no static-export limitations.
- Set env vars like DATABASE_URL in the project settings; they are injected at build and runtime.
- Every push to your deploy branch triggers a new build automatically.
Next.js deployment FAQ
Does Darmi Cloud support Next.js SSR and API routes?
Yes. Your Next.js app runs as a standalone Node server, so SSR, API routes, server actions and middleware all work — unlike static-only hosts.
Is Darmi Cloud a good Vercel alternative for Next.js?
Yes. You get GitHub deploys, preview deployments and custom domains like Vercel, plus full backend hosting and the option to self-host on your own VPS with no usage-based surprise bills.
Can I use my own custom domain?
Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.
Is there a free plan?
Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.
Deploy other frameworks
Ready to deploy your Next.js app?
Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.
Deploy Next.js now