I share my experience deploying and testing a Next.js web application on a Virtual Private Server (VPS). I explain why you might host your Next.js application on a VPS, such as customization or location requirements.
For my VPS provider, I chose Hetzner, but there are many options available.
I'll walk you through the deployment process, including installing Node.js, checking for Git, and using the node version manager. Then, I’ll run my automated Cypress tests and see how well a VPS supports Next.js features.
If you're considering deploying a Next.js app on a VPS and want to learn more, keep watching!
I also found this video helpful in getting Next.js running on a VPS: • Deploy your Next.js app to a VPS (EASY!)
#nextjs #hetzner #vps
Hosting Next.js on a VPS Article: https://www.thetombomb.com/posts/next...
Next.js Host Check App: https://github.com/thomas-desmond/hos...
Contact Me: https://www.thetombomb.com/posts/bio
Hetzner: https://www.hetzner.com/
Node Version Manager: https://github.com/nvm-sh/nvm
00:00 Deploying Next.js on VPS
00:53 Why Choose a VPS for Next.js?
01:55 My VPS Setup
02:38 Connecting to the VPS
05:11 Building the Next.js App
07:20 Testing Next.js Features
07:58 Next.js on VPS Test Results