Node.js for Cpanel

This knowledge base describes how to install a Node.js web application. Node.js is a JavaScript runtime that allows you to build scalable web applications.  


Pre-installation settings

We should first install a handful of support packages and ensure that Application Manager is activated. The Application Manager feature can be enable via WHM’s Feature Manager.

Open Feature Manager, which is under Packages in the WHM sidebar menu. Click the Edit button under Manage Feature List with the Default list selected in the dropdown menu.


Enter Application Manager in the search field, and verify that its entry in the feature list is checked. If it isn’t, click the adjacent box and then Save at the bottom of the page. 


Further, do installed the following EasyApache 4 RPMs on your server. 

  • ea-apache24-mod_env

  • ea-nodejs10

  • ea-ruby27-mod_passenger


Alternatively, you will need to log in as root with SSH to install the software with command below:

yum install ea-ruby24-mod_passenger ea-apache24-mod_env ea-nodejs1

Do contact Exabytes Technical support if require assistance to install the necessary softwares.


Application Manager  is now available in user cPanel accounts and ready to host Node.js applications. You could see Application Manager feature is showing under CPanel > Software tab.


For details and sample to register the NodeJs application, may refer to the Official guide via URL below for illustrate steps.

https://blog.cpanel.com/how-to-host-a-node-js-application-with-cpanel/


Notes:

Because cPanel, L.L.C. doesn’t develop Node.js, cPanel team can’t assist with the encountered error during application registration or post deployment issue. Hence, the Exabytes support team can't provide full support as well. The Nodejs support will with best effort support 


We recommend that only experienced system administrators perform these steps. We are not responsible for any data loss.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.