Managing Node.JS with cPanel (standard cloud linux packages)

NOTE: This feature is available and applies ONLY for our Linux - Mocha package

  1. Login to your cPanel control panel.

1_cpanel_error_log.png

  1. Under Software Section choose Setup Nodejs Version.

2_nodejs_cpanel.png

  1. Click Create Application.

3_nodejs_cpanel.png

  1. Specify the details for your new application and click CREATE.

4_nodejs_cpanel.png

  • Change Node.js version — choose Node.js version from a drop-down.
  • Change Application mode — choose application mode from a drop-down. Available modes are Production and Development.
  • Specify Application root — specify in a field a physical address to the application on a server that corresponds with its URI.
  • Specify Application URL — specify in a field an HTTP/HTTPS link to the application.
  • Specify Application startup file — specify as NAME.js file.
  1. Once created you will be able to Stop/Restart/Edit/Remove the application via the interface.

5_nodejs_cpanel.png

  1. By clicking Edit you will be able to make changes to the already created application including the variables you have set. Below are all the options available when editing your application:

6_nodejs_cpanel.png

  • Restart application — click Restart button.
  • Stop Node.js — click Stop Node.js button.
  • Run JavaScript script — click Run JS Script button to run a command specified in the Scripts section of the package.json file. Specify the name of the script to run plus any parameters then click Ok.
  • Remove application — click Delete button and confirm the action in a pop-up.
  • Change Node.js version — choose Node.js version from a drop-down.
  • Change Application mode — choose application mode from a drop-down. Available modes are Production and Development.
  • Specify Application root — specify in a field a physical address to the application on a server that corresponds with its URI.
  • Specify Application URL — specify in a field an HTTP/HTTPS link to the application.
  • Specify Application startup file — specify as NAME.js file.
  • Run npm install command — click Run npm install button to install the package(s) described in the package.json file.
  • Add Environment variables — click Add Variable and specify a name and a value.
  • 1 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

SiteBuilder: eshop Support Payment Modules

The following is the list of available SiteBuilder 4 supported payment modules: Cash On Delivery...

Site Builder Browser Compatibility

Our latest site builder software version is NOT yet compatible with Internet Explorer 7. The site...

Can I use my files and upload my own site?

You can use your own design and site related files. You do not need to use our builder or...

How to reset WordPress password?

You can manually reset your WP password following the official article from WP, at:...

How do I create a mailto link on my page?

The mailto command will place blue wording on the screen that people can click to send you a...

Powered by WHMCompleteSolution