Run Express, NestJS and Next.js apps from cPanel with Setup Node.js App, or choose a Cloud VPS when you need full control. Select your Node.js version, run NPM install with one click and pay in shillings.
The first year of one domain is free. After that it renews at the normal domain price.
Billing terms
1 year, 2 years, 3 years
Extensions
.me.ke
Add the domain to the same order to claim it.
On 1 year, 2 years, 3 years billingOn 1 year, 2 years, 3 years billingOn 1 year, 2 years, 3 years billingIncluded on this termIncluded on this termIncluded on this term
The first year of one domain is free. After that it renews at the normal domain price.
Billing terms
1 year, 2 years, 3 years
Extensions
.xyz.me.ke
Add the domain to the same order to claim it.
On 1 year, 2 years, 3 years billingOn 1 year, 2 years, 3 years billingOn 1 year, 2 years, 3 years billingIncluded on this termIncluded on this termIncluded on this term
On 1 year, 2 years, 3 years billingOn 1 year, 2 years, 3 years billingOn 1 year, 2 years, 3 years billingIncluded on this termIncluded on this termIncluded on this term
All an app needs to go live, in a control panel anyone on your team can use.
Node.js Selector in cPanel
Set the Node.js version for each app and change it later without raising a ticket.
Restarts handled
Phusion Passenger launches your app, restarts it after a crash and serves it through the web server.
Deploy from Git
Clone and pull your repository with cPanel Git Version Control.
MySQL databases
Create databases and users in cPanel and connect with mysql2 on localhost.
Free SSL
HTTPS on every domain and subdomain your app responds on.
Isolated accounts
CloudLinux keeps your account’s CPU and memory apart from other customers.
Fast storage
NVMe storage on LiteSpeed servers keeps installs and reads fast.
Billed in shillings
Pay monthly or yearly in Kenyan shillings, with any taxes shown on your invoice.
Built for developers
Launch your Node.js app without running a server
Write your app as you always do. Create it in cPanel, run NPM install with one click and let the server keep it running while you build the next feature.
Set the Node.js version per app
Deploy from Git or upload your files
Move up to a Cloud VPS when you need more
Deploy a Node.js app in five steps
This is the real flow in cPanel. Most apps go live in under ten minutes.
Step 1Create the app
In cPanel open Setup Node.js App and click Create Application. Choose the version, Production mode, a folder for the code, the web address and the startup file.
Step 2Upload your code
Use File Manager, Git Version Control to clone your repository, or use SFTP. Leave node_modules out: the server builds it.
Step 3Install packages
Click Run NPM Install. It reads your package.json and installs what your app depends on.
Step 4Add your settings
Add database details and API keys as environment variables on the app page, so they never live in your code.
Step 5Restart and check
Click Restart and open your app. With the starter kit, /health replies with the Node.js version that is running.
cPanel · Setup Node.js App
Create application
Node.js version24 (LTS)
Application modeProduction
Application rootmyapp
Application URLapi.yourbusiness.co.ke
Application startup fileapp.js
Passenger log filelogs/app.log
Run NPM InstallRestartCreate
The form you complete in step 1.
Working over SSH? Open the app in Setup Node.js App and copy the command shown at the top: it switches your session to the app’s Node.js version, so node and npm match what the app runs.
Begin with an app that already works
A small Express app ready for Setup Node.js App. Read the files here, or download them and follow the five steps above.
{
"name": "telahosting-node-starter",
"version": "1.0.0",
"private": true,
"description": "A small Express app, ready for Setup Node.js App in cPanel on telaHosting.",
"main": "app.js",
"scripts": {
"start": "node app.js"
},
"engines": {
"node": ">=22"
},
"dependencies": {
"express": "^5.1.0"
}
}
// telaHosting Node.js starter.
// In cPanel > Setup Node.js App, set "Application startup file" to app.js.
const express = require('express');
const app = express();
const port = process.env.PORT || 3000; // the server tells your app which port to use
app.disable('x-powered-by');
app.use(express.json());
app.get('/', (req, res) => {
res.send(`<!doctype html><title>It works</title>
<h1>Your Node.js app is live</h1>
<p>Node.js ${process.version}, ${process.env.NODE_ENV || 'development'} mode.</p>`);
});
// Open /health after a restart to confirm the app is running.
app.get('/health', (req, res) => {
res.json({ status: 'ok', node: process.version, uptime: Math.round(process.uptime()) });
});
app.listen(port, () => console.log(`Listening on port ${port}`));
# Add each of these in cPanel > Setup Node.js App > your app > Environment variables.
# NODE_ENV is set for you by "Application mode" (Production or Development).
DB_HOST=localhost
DB_NAME=cpaneluser_appdb
DB_USER=cpaneluser_appuser
DB_PASSWORD=
# telaHosting Node.js starter
A small Express app that runs on telaHosting cPanel hosting with Setup Node.js App.
## Deploy in cPanel
1. Open **Setup Node.js App** and click **Create Application**.
2. Choose a Node.js version (24 or newer for new projects), set **Application mode** to Production,
**Application root** to `myapp`, pick the **Application URL**, and set **Application startup file** to `app.js`.
3. Upload `package.json` and `app.js` to the application root (File Manager, Git Version Control or SFTP).
Do not upload a `node_modules` folder.
4. Click **Run NPM Install**.
5. Add any environment variables from `.env.example`, then click **Restart**.
6. Open `https://your-app-url/health`. You should see `{"status":"ok", ...}`.
## Run it on your own computer
npm install
npm start
Then open http://localhost:3000.
Guide: https://telahosting.co.ke/hosting/nodejs/
Download the starter kit (.zip)1.9 KB · Express 5 · Node.js 22 or newer SHA-256 6054fe48347fe71d6fd233247c6a8e444d4e157e9231b85ed1fd90ef5655e352
Which Node.js version should you pick?
Production apps belong on a long-term support (LTS) line. Pick Node.js 26 for new projects and plan upgrades before a line stops receiving security fixes.
You set the version for each app in Setup Node.js App and can change it later. Node.js publishes long-term support lines, currently 22, 24 and 26; we recommend Node.js 26 for new projects. If the version you need is missing, open a ticket.
Can I host Express, NestJS or Next.js?
Yes. Express, Fastify and similar frameworks run unchanged. NestJS runs from its build folder. Next.js runs from a small custom server file after next build. The frameworks table on this page lists the startup file for each.
Do I need SSH to deploy?
No. Everything can be done in cPanel: create the app, upload or clone the code, run NPM install, add environment variables and restart. SSH is available if you prefer the command line.
Can my app connect to a database?
Yes. Create a MySQL database in cPanel and connect from Node.js using mysql2 package, using localhost as the host. For MongoDB, use a hosted service such as MongoDB Atlas, or run it yourself on a Cloud VPS.
Does my app stay running all the time?
On cPanel hosting, Passenger starts your app when a request comes in and may pause it after a quiet period, so the first visit after a pause is slightly slower. For background workers, queues or jobs that must run day and night, choose a Cloud VPS.
Can I use WebSockets?
For live chat, dashboards or anything holding many long-lived connections, use a Cloud VPS, where you control the process and the proxy. Ask us first if you want to try a light real-time feature on cPanel hosting.
Where are the servers located?
Our servers are in Frankfurt, Germany, and other locations, and you pay in Kenyan shillings. Tell us where most of your users are and we will recommend the best fit.
Can you move my Node.js app from another host?
Yes. Send us the repository or files and your Node.js version, and we will help you set it up. See website migration.
Compare hosting
Not quite what you need?
Every telaHosting product, with its starting price in Kenyan shillings.