Node.js lets you run JavaScript on the server, which is how many modern web applications and APIs work. Setup Node.js App gives you a managed environment on your account, so you can run a Node.js app without setting up the server yourself.
This guide shows you how to create a Node.js app, install its packages, and start it.
Open Setup Node.js App
- Log in to cPanel.
- In the Software group, click Setup Node.js App.

Create the Application
- Click Create Application.
- Choose the Node.js version your app needs.
- Enter an Application root. This is the folder that holds your app’s files.
- Enter an Application URL. This is the address where the app will appear.
- Enter the Application startup file. If you leave it empty, cPanel uses app.js by default.
- Click Create.

Upload Your Files
Upload your app’s files to the application root, using File Manager or FTP. Include a package.json file, which lists the packages your app needs.
Install the Packages
On the application’s page, click Run NPM Install next to package.json. Wait for the install to finish. This step downloads everything the app depends on, so do not skip it after uploading new files.
Restart and Test
Click Restart at the top of the page. Open the Application URL in a browser. If the app shows an error, check the logs in the application root. Most startup problems are caused by a missing package or a startup file name that does not match your app.
If you change your code, click Restart again so the changes take effect.
Keep the App Secure
Keep secret keys and passwords out of your code. Use environment variables, and keep your node_modules folder out of public downloads. Update your packages regularly, and check for known security warnings before you deploy.
Ready to host a Node.js app with more control over the server? Compare HoganHost’s VPS hosting options, or start with HoganHost’s cPanel shared hosting plans.



