Node.js on ISPmanager hosting
In the examples example.com is your domain. Use your own values.
A Node.js site is created like a normal one, but Node.js replaces PHP. The application runs all the time; the panel starts and restarts it.
1. Create the site
- "Sites" → "Create a site" → manual setup, or a Node.js project right away.
- Enter the domain in "Name", for example
app.example.com. - In "Additional features" untick "PHP". Only then the "Node.js" checkbox appears.
- Tick "Node.js".

- Choose a version in "Node.js version". An LTS release (24 or 22) is the safer choice.
- Click "Create".


The handler column shows the Node.js version.

2. What the panel created
The site folder has two sample files: server.js and package.json. The panel starts the app with npm start from package.json.

The key rule. The app must listen on the address the panel passes. By default it is a socket in the SOCKET variable. With "Use port" enabled in the site settings it is the port in PORT. A fixed port of your own will not work.
Express example:
const express = require('express');
const fs = require('fs');
const app = express();
app.get('/', (req, res) => res.send('Hello from Node.js!'));
if (process.env.SOCKET) {
const socket = process.env.SOCKET;
if (fs.existsSync(socket)) fs.unlinkSync(socket);
app.listen(socket, () => fs.chmodSync(socket, 0o660));
} else {
app.listen(process.env.PORT, process.env.INSTANCE_HOST);
}Upload the app files to the site folder with the file manager, FTP or the Shell client.
3. Dependencies
- Site menu → configuration files. This is
package.json. Checkdependenciesand thestartscript.


- Site menu → "Npm install" → "Install".

Installed packages: "View Node.js packages". You can also add or remove a single package there.

4. Run
"Run settings (Node.js)" defines the command. Pick a script from package.json or enter a command. Environment variables (API keys, NODE_ENV) and a pre-start command such as a build are set here too.

After code or settings changes: site menu → "Restart (Node.js)" → "Restart".


Node.js in the terminal
The "Shell client" item in the site menu opens a terminal in the site folder, with node and npm of the site version.

Application logs: "Site logs", files app.example.com-out.log (output) and app.example.com-error.log (errors).