Submit a Ticket
Support Center » Knowledgebase » Web Design » Managing Node.JS with cPanel (standard cloud linux packages)

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

NOTE: This feature is available and applies ONLY for our Linux - Mocha and WordPress Advanced packages

1. Login to your cPanel control panel.



2. Under Software Section choose Setup Nodejs Version.



3. Click Create Application.



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


Change Node.js versionchoose Node.js version from a drop-down.

Change Application modechoose application mode from a drop-down. Available modes are Production and Development.

Specify Application rootspecify in a field a physical address to the application on a server that corresponds with its URI.

Specify Application URLspecify in a field an HTTP/HTTPS link to the application.

Specify Application startup filespecify as NAME.js file.


5. Once created you will be able to Stop/Restart/Edit/Remove the application via the interface.



6. 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:


Restart applicationclick Restart button.

Stop Node.jsclick Stop Node.js button.

Run JavaScript scriptclick 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 applicationclick 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 commandclick Run npm install button to install the package(s) described in the package.json file.

Add Environment variablesclick Add Variable and specify a name and a value.

 This answer was helpful  This answer was not helpful
 Back