Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
N

Node.js

Node.js is the JavaScript runtime for servers. Async I/O, the npm ecosystem (4 million+ packages), and the same language end-to-end in modern web stacks. Used at Netflix, LinkedIn, Walmart, and PayPal. The default backend runtime for full-stack JavaScript.

At a glance

118k

GitHub stars

140

Page views

Version 22 OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

1. SSH to your server:

ssh root@<your-server-ip>

2. Find login credentials:

Default user: nodejs

Password stored in: /root/.cloudzy-creds

Its strongly recommended to change the password: passwd nodejs

3. Switch to the app user:

su - nodejs

4. Deploy your app:

mkdir /home/nodejs/your-app
git clone your_repo.git /home/nodejs/your-app
cd /home/nodejs/your-app
npm install --omit=dev
pm2 start app.js --name your-app-name
pm2 save

5. Access your app:

Your app is available at  http://<your-server-ip> (served via NGINX)

6. Change port or domain?

Edit:

/etc/nginx/sites-available/default

Then run:

sudo nginx -t
sudo systemctl restart nginx

7. Enable HTTPS (optional):

Consider using Certbot for HTTPS in production.

More in Development Tools

Related apps.

Deploy Node.js now. From $2.48/mo.