DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

CloudLinux Node.js Selector

On older CloudLinux servers, open Extra Features → Setup Node.js App. The module displays web applications and a Create application button.

A disabled Create application button means the account cannot currently create another app. The cause may be a zero quota, exhausted quota or a feature disabled for the package. Contact support.

Create an application

  1. Click Create application.
  2. Select one of the Node.js versions currently offered by the panel.
  3. Select Production for a live service.
  4. Select the domain and set the Application URL.
  5. Enter an Application root relative to the home directory, such as domains/DOMAIN/app.
  6. Enter the Application startup file, such as app.js or server.js, according to the project.
  7. When a log field is available, select a location outside public_html, such as /home/USERNAME/logs/node-app.log.
  8. Create the app and use the panel's command to activate its Node.js environment.

Dependencies and variables

Open the application detail. Run npm ci and the production build in the activated environment. Configure environment variables through the application UI or a secure project-specific file.

Restart and management

After changing code, dependencies, Node.js version, startup file or variables, click Restart. Selector can also stop or delete the app. Removing its configuration is not a replacement for a source backup.

Passenger limitations

CloudLinux Node.js Selector uses Passenger. Some modern pure ECMAScript Module projects or custom launch methods may be incompatible with an older Passenger environment. If ERR_REQUIRE_ESM occurs, contact support and consider another server or a VPS.

Back to chapter overviewContact Euroserver support