In ispmanager a Node.js or Python app is a website with its own handler. The panel creates the site, starts your app under the PM2 process manager and sends the site's traffic to it through nginx. Your app has one job: listen on the socket, or the port, that the panel hands it in an environment variable.
Install Node.js and Python in ispmanager
Open Software configuration and install Node.js and Python. On my server Node.js took 10 seconds and Python 34 seconds, and the panel version didn't change despite the page's warning that it would be updated.
- Node.js installs only the panel's module. No Node.js runtime goes onto the server itself: each site gets the version you pick, installed for its user when the site is created.
- Python installed seven interpreters, from 3.8 to 3.14, under
/opt/ispmanager/, about 650 MB in all.
Allow Node.js and Python for the user
Users that existed before the install don't get the new handlers. Open Users, edit the user who will own the app and tick Node.js and Python under Access, then save. Until you do, the handlers don't appear in that user's site form, which looks a lot like the install failed.
Users created before the install need these two boxes ticked.
Create a Node.js site
Open Sites and create a site. In New website, set Handler to Node.js; the form notes that a CMS or website builder can't be installed with this handler. Choose the Node.js version. The default on my server was 26.14.0, and the list went back to 12.13.
The Node.js handler, with the version chosen per site.
Under Extended settings, the Handler (Node.js) section shows the paths to the user's node and npm and the Connection method, which is Socket file by default.
The site was ready in under two seconds. The panel installed Node.js for that user with nvm (about 270 MB), wrote a starter server.js and package.json into the site's folder and started the app under PM2. The starter listens on the path in the SOCKET environment variable, and so must your app. This is the test app I put in its place:
const http = require('http');
const fs = require('fs');
const server = http.createServer((req, res) => {
res.setHeader('Content-Type', 'text/plain; charset=utf-8');
res.end(`Hello from Node.js ${process.version} on ispmanager (path ${req.url})\n`);
});
if (process.env.SOCKET) {
const s = process.env.SOCKET;
if (fs.existsSync(s)) fs.unlinkSync(s);
server.listen(s, () => fs.chmodSync(s, 0o660));
} else {
server.listen(process.env.PORT || 3000, process.env.INSTANCE_HOST || '127.0.0.1');
}
It removes a socket file left by the previous run before listening, which saves a failed restart. After replacing server.js, restart the app from the site's Node.js actions in the panel. Mine answered on / and /hello alike: nginx sends every request to the app, even with an index.html in the folder. The site's Node.js settings also take a custom start command, a command to run before start and environment variables.




