Deploying a modern web application shouldn’t feel like a weekend-long ordeal. With the release of Node.js 24.x in May 2025, developers now have access to a significantly faster V8 engine (v13.6), the stable Permission Model for enhanced security, and out-of-the-box support for the latest ECMAScript standards.
At Host Sonu, our NVMe SSD-powered VPS hosting is designed to handle these high-performance runtimes with ease. In this guide, we will show you how to take a fresh Host Sonu VPS and deploy a production-ready Node.js 24.x application in under 10 minutes.
Prerequisites
Before we begin, ensure you have the following:
- A Host Sonu VPS account with an operating system like AlmaLinux, or Ubuntu.
- Your server’s IP address, admin username, and password.
- An SSH client (e.g., PuTTY for Windows, or Terminal for macOS/Linux).
Step 1: Connect to Your VPS via SSH – (1 Minute)
- Open your SSH client.
- Enter your server’s IP address and Port (default is 22).
- Log in with your admin username (usually root for a self-managed VPS) and password when prompted.
- Alternatively, Host Sonu provides a terminal within WHM (Web Host Manager) for root access.
Step 2: Install Node Version Manager (NVM) – (2 Minutes)
NVM is recommended as it simplifies managing Node.js versions.
1. Update your server’s package index (optional but recommended):
For Ubuntu: sudo apt-get update
For AlmaLinux: sudo dnf update -y or sudo yum update -y
2. Install NVM using the install script from its GitHub repository:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
Note: Check the NVM GitHub page for the latest install script URL.
3. Load NVM and verify the installation by closing and reopening your SSH terminal or running:
source ~/.bashrc
nvm –version
Step 3: Install Node.js – (3 Minutes)
Once NVM is installed, you can easily install Node.js.
1. Install the latest stable version of Node.js:
nvm install node
2. Install a specific version (if needed):
nvm install [version_number]
e.g., nvm install 24
3. Set a default version to use every time you log in:
nvm alias default [version_number]
4. Verify the installation
node -v
npm –v
This should return the installed versions of Node.js and npm (Node Package Manager).
Step 4: Deploy and Run Your Application – (3 Minutes)
1. Upload your application files to your server. You can use an FTP client or cPanel’s File Manager. A common practice is to create a dedicated folder for your app (e.g., ~/nodejsapp).
2. Navigate to your application directory in the SSH terminal:
cd ~/nodejsapp
3. Install dependencies specified in your package.json file:
npm install
4. Start your application. A process manager like PM2 is recommended to keep the application running continuously and handle restarts.
- Install PM2 globally: npm install pm2 –g
- Start your app with PM2: pm2 start app.js
Step 5: Configure a Reverse Proxy – (1 Minutes)
To make your Node.js application accessible via your domain name (rather than an IP and port), you typically configure a web server like Nginx or use cPanel’s Application Manager as a reverse proxy.
1. If you have cPanel, you can use the Application Manager interface to register your Node.js application and link it to your domain.
2. For a self-managed VPS without cPanel, you will need to manually configure a web server like Nginx to reverse proxy requests to the port your Node.js application is running on (e.g., http://127.0.0.1:3000).
Why Choose Host Sonu for Node.js 24.x?
Deploying on a Host Sonu VPS gives you distinct advantages that standard cloud providers often charge extra for:
| Feature | Benefit for Node.js |
| NVMe SSD Storage | Drastically reduces npm install times and database I/O latency. |
| KVM Virtualization | Ensures your CPU and RAM are 100% dedicated to your Node process—no noisy neighbors. |
| DDoS Protection | Protects your app from malicious traffic at the network level. |
| Snapshot Backups | One-click recovery if a deployment goes wrong. |
Conclusion
You’ve just deployed a high-performance Node.js 24.x application and ensured it stays running with PM2—all in under 10 minutes. By choosing a Host Sonu VPS, you’re giving your application the hardware it deserves to scale.
Ready to launch your next project?