No More Vercel 🚫 | Deploy Next.js on a VPS (Hetzner + PM2 Setup)

Опубликовано: 24 Июль 2026
на канале: Jervi sir
344
23

After What Vercel ceo have done, I personally feel uncomfortable deploying my platform on Vercel
So 𝐒𝐤𝐢𝐩 𝐭𝐡𝐞 𝐥𝐢𝐦𝐢𝐭𝐬 of Vercel! and take 𝐟𝐮𝐥𝐥 𝐜𝐨𝐧𝐭𝐫𝐨𝐥! of your Next.js app! 🚀

In this video, I show you how to deploy and run a Next.js app on a 𝐇𝐞𝐭𝐳𝐧𝐞𝐫 VPS the traditional way using 𝐍𝐨𝐝𝐞.𝐣𝐬, 𝐏𝐌𝟐, and 𝐔𝐅𝐖 firewall.
| Note: If you’re new to VPS setup, first watch this 👉 How to Create Ubuntu VPS on Hetzner

🔑 What’s inside this video:

SSH into your VPS (non-root user)
Install Node.js (via nvm)
Clone your Next.js repo & configure .env
Build your app with npm run build
Run Next.js on a custom port
Use PM2 to keep your app alive after reboots
Configure firewall (UFW)
domain name + Nginx + HTTPS


📖 Full step-by-step blog post:
Blog: https://jervi-writes.netlify.app
Next.js on VPS: No More Vercel — Let’s Serve Next.js on VPS: https://jervi-writes.netlify.app/blog...
VPS setup: Create and Setup Ubuntu VPS on Hetzner: https://jervi-writes.netlify.app/blog...

⚡ Why this matters:
This method naïvely mirrors what Vercel does behind the scenes fetch code, build, run on a port, and keep it alive but without serverless limits.

👉 Remember subscribe for the next part!