Deploying a Node.js application
Deploy your first Node.js application on ProCloudly servers.
1 min readUpdated Nov 23, 2026By ProCloudly Support
This tutorial explains how to deploy and manage a production Node.js application on your ProCloudly Linux cloud server using PM2 process manager and Nginx reverse proxy.
Step 1: Install Node.js & PM2
Connect via SSH to your server and install Node.js and the PM2 process manager globally:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm install -g pm2
Step 2: Start Your Application with PM2
Clone your repository or upload your application files, install dependencies, and launch with PM2:
cd /var/www/myapp
npm install --production
pm2 start npm --name 'my-app' -- start
pm2 startup
pm2 save
Step 3: Configure Nginx as Reverse Proxy
Point Nginx port 80 to your internal application port (e.g., port 3000) to safely route incoming web traffic.
Did this guide answer your question?
Your feedback helps us improve our guides and documentation.