CloudLinux Node.js Selector lets you run a Node.js application from cPanel using a provider-approved runtime. It is available only when the provider has enabled the selector for your account.

Prepare the application

Check the supported Node.js versions and your application’s startup file, dependencies and environment variables. Keep secrets out of publicly accessible files.

If Setup Node.js App is missing, ask which application hosting tools your plan supports. Some servers provide cPanel Application Manager instead; its setup is different.

Create the application

  1. Open Software > Setup Node.js App in cPanel.
  2. Click Create Application.
  3. Select a supported Node.js version and the appropriate application mode.
  4. Enter the Application Root, relative to your account’s home directory.
  5. Choose the domain and path for Application URL.
  6. Enter the actual Application Startup File, such as app.js, then click Create.

Install dependencies and start the app

Upload the application into its root directory, including its package.json. Use Run NPM Install where available to install the declared dependencies.

Add required environment variables, save the settings and start or restart the application. If terminal work is needed, use the environment activation command shown by the selector.

Open the application URL and check its logs if it fails. Creating an entry alone does not install or configure the application code.