Node.js & Python — Server-Side Applications

Developer • CloudLinux

The cPanel Setup a Node.js App and Setup a Python App features (CloudLinux) let you run modern JavaScript and Python applications on shared hosting — with multiple versions available, full isolation and management directly from cPanel.

CloudLinux · Setup Node.js / Python App

Modern runtimes on shared hosting

Setup a Node.js App and Setup a Python App are CloudLinux features integrated into cPanel that allow running JavaScript (Node.js) and Python applications alongside traditional PHP sites — on the same hosting account, with full isolation.

Node.js 12 – 24 available

Select the Node.js version per application — from the stable LTS versions (20, 22) to the current versions. Each application runs in its own isolated virtual environment.

Python 2.7 – 3.13 available

Run Python, Django, Flask or FastAPI applications with your chosen Python version — including package management through pip and virtual environments (venv) per application.

NPM / pip included

Install Node.js packages through npm or yarn, and Python packages through pip — directly from cPanel or via SSH, with full access to public repositories.

Management from cPanel

Start, stop and restart applications directly from cPanel → Setup a Node.js App / Setup a Python App — without SSH, without root access, with real-time viewing of application logs.

Web applications + Create application
ApplicationModeStatus
api.magazin.ro production v20.20.2
app.magazin.ro production v22.9.0
chat.magazin.ro production v18.20.4
dev.magazin.ro development stopped
Web applications + Create application
ApplicationModeStatus
ml.magazin.ro production 3.13.1
api.magazin.ro production 3.12.2
etl.magazin.ro production 3.11.9
data.magazin.ro development stopped
Capabilities

What you can run with Node.js and Python

Setup a Node.js App and Setup a Python App open up shared hosting for modern server-side applications.

REST API with Express/Fastify

Run Node.js API servers (Express, Fastify, NestJS) or Python (FastAPI, Django REST) as a backend for mobile apps, SPAs or third-party integrations.

Next.js / Nuxt.js applications

Deploy React/Vue applications with server-side rendering (Next.js, Nuxt.js) on shared hosting — ideal for sites that require SSR for SEO.

WebSocket & Real-time

Prototype applications with Socket.io or WS (Node.js), suitable for development and low traffic. For production applications, see the recommendation in the FAQ.

Django & Flask

Run complete Python applications with Django or Flask — including ORM, authentication, admin panel and template engine. Connected to MySQL or PostgreSQL.

Webhooks & API integrations

Receive and process webhooks (payments, GitHub, forms) and connect external services through an API — lightweight microservices, ideal for shared hosting, written in Node.js or Python.

Node.js/Python cron jobs

Run background processing scripts (cron jobs) written in Node.js or Python — image processing, scheduled report generation, data synchronization with external APIs or cleaning up temporary files.

Practical scenarios

Real-world usage examples

How to combine PHP + Node.js + Python on the same Trustnet Solutions hosting account for complex projects.

Node.js

WordPress + Node.js API

The main site on WordPress (PHP) and a separate REST API for the mobile app on Express.js (Node.js). Both on the same account, different domains: magazin.ro and api.magazin.ro.

Python

PHP site + Python AI backend

WordPress frontend for presentation and orders, plus a Python service (FastAPI) for AI product recommendations based on purchase history. Integrated through a REST API.

Node.js

Next.js full-stack

A complete Next.js application with SSR and API routes, without WordPress. Ideal for startups or SaaS products that prefer React and TypeScript instead of classic PHP.

PHP + Python

CMS + Python data pipeline

Joomla or WordPress for content management plus Python scripts that automatically import data from external sources (CSV, APIs, databases), process it and insert it into MySQL.

Frequently asked questions

About Node.js & Python

Answers about running modern applications on Trustnet Solutions hosting.

Included on all plans

Setup a Node.js App and Setup a Python App are included in all Trustnet Solutions shared hosting plans

CloudLinux isolation

Each application runs in its own virtual environment isolated through CageFS

Yes — Setup a Node.js App starts applications as persistent background processes, managed by CloudLinux. The application runs continuously and restarts automatically if it stops unexpectedly. You can manage the state (start/stop/restart) from cPanel or from the command line via SSH.

In cPanel you open Setup a Node.js App (or Setup a Python App), create the application and choose the domain or subdomain in the Application URL field. Phusion Passenger, integrated into the web server, automatically serves the application at that URL — you don't have to manually configure ports or a proxy.

Yes — Node.js and Python applications connect to the MySQL databases created in cPanel using standard MySQL credentials. The mysql2 package for Node.js or PyMySQL/SQLAlchemy for Python is installed through npm/pip, and the connection is made locally (localhost).

Setup a Node.js App (CloudLinux) has its own process management system — it does not require PM2. Passenger processes are managed at the system level and restarted automatically on the first request if they stop. For advanced features (cluster mode, dedicated monitoring, PM2), we recommend a VPS — on shared hosting, a process manager started from your account would be stopped anyway by the server's resource limits.

For development and low traffic, yes — you can run Socket.io or WS applications. For persistent, production WebSocket connections, however, we recommend a VPS: on shared hosting, Passenger recycles idle processes, and CloudLinux limits (CPU, memory, connection duration) can interrupt long-running connections. For serious real-time applications, a VPS with a dedicated reverse proxy provides stable connections.
node py

Node.js & Python included on all plans

Run modern JavaScript and Python applications on Trustnet Solutions shared hosting — with CloudLinux isolation, multiple versions and management from cPanel without root access.


Node.js v12-v24 and Python v2.7-v3.13 available. npm/pip installation included. SSH access for deployment.