How to Set Up a Node.js Application in cPanel (CloudLinux)

June 24, 2025 / Sales FAQ

If you want to deploy a Node.js application using a graphical interface, cPanel makes the process simple and efficient. With its built-in Node.js support, you can easily configure your application environment, set the root directory, and manage dependencies without using the command line.

This guide walks you through the systematic process of setting up a Node.js app in cPanel, from creating the application to defining your startup file.

Important: The Node.js Application option in cPanel is available only on servers running CloudLinux with Node.js Selector enabled.
On non-CloudLinux systems, Node.js must be installed and configured manually via WHM or the command line.

Follow the steps:

  1. Log in to your cPanel account.
  2. Under the “Software” section, click on “Node.js” App.
    setup
  3. Click the “Create Application” button.
    create application
  4. In the Application Root field, enter the directory path where your application files will be uploaded.
  5. Choose your desired Application URL and specify the Startup File (if left blank, app.js will be used by default).
  6. Complete the remaining configuration fields with your preferred settings.
  7. Once everything is set, click Create to initialise your application.

That’s all it takes to get your Node.js app up and running on cPanel! If you run into any issues, feel free to get in touch with our support team.

Note:
If your server is not running CloudLinux, the Node.js setup process differs. In such cases, Node.js must be installed manually on the server and configured via WHM. Refer to the hosting provider’s documentation or official setup guides for non-CloudLinux environments.

Haven’t installed Node.js yet? Learn How to install Node.js on cPanel enabled server

Spread the love