This knowledge base outlines the process for installing a Node.js web application. Node.js is a JavaScript runtime that enables the development of scalable web applications.
Pre-installation settings
First, we need to install several support packages and confirm that the Application Manager is activated. The Application Manager feature can be enabled through WHM’s Feature Manager.
Navigate to Feature Manager, located under Packages in the WHM sidebar menu. Click the Edit button beneath Manage Feature List with the Default list selected in the dropdown menu.
Type Application Manager in the search box, and check that its entry in the feature list is selected. If it isn't, click the checkbox next to it and then hit Save at the bottom of the page.
Additionally, ensure that the following EasyApache 4 RPMs are installed on your server.
ea-apache24-mod_env
ea-nodejs10
ea-ruby27-mod_passenger
Alternatively, you can log in as root using SSH to install the software with the command below:
yum install ea-ruby24-mod_passenger ea-apache24-mod_env ea-nodejs1
Please reach out to Exabytes Technical Support if you need assistance with installing the required software.
Application Manager is now accessible in user cPanel accounts and is ready to host Node.js applications. You should see the Application Manager feature listed under the CPanel > Software tab.
For further details and examples on how to register the NodeJs application, please refer to the official guide at the URL below for step-by-step instructions.
https://blog.cpanel.com/how-to-host-a-node-js-application-with-cpanel/
Notes:
As cPanel, L.L.C. does not develop Node.js, the cPanel team cannot assist with any errors encountered during the application registration or post-deployment issues. Consequently, the Exabytes support team cannot provide complete support either. Node.js support will be offered on a best-effort basis.
We recommend that only experienced system administrators carry out these steps. We are not liable for any data loss.