Skip to content

Instantly share code, notes, and snippets.

View undefinedSahed's full-sized avatar
💭
I may be slow to respond.

Md. Sahed Rahman undefinedSahed

💭
I may be slow to respond.
View GitHub Profile

Node.js / MERN Application Deployment Guide on VPS (Ubuntu)

This guide provides step-by-step instructions to deploy Node.js or MERN applications on a VPS, including performance optimization, PM2 process management, NGINX reverse proxy, and SSL setup. It also includes notes for deploying a Next.js frontend without a custom server.

1. Connect to VPS

ssh root@your_vps_ip
type your password