
Create a file called app.js in this directory with your preferred text editor. This is where your app’s code files will live. You can call the directory anything you want. Log in with SSH as a cPanel user and create a new directory in their home directory. However, to illustrate the process, we’ll create a simple single-file application. Users of the Git™ version control system could clone a repository with its command-line client or cPanel’s Git Version Control interface. We’ll look at registering an application in the next section, but first we need to install it on the server. Hosting applications with cPanel is a two-step process: Creating an Application in the cPanel Application Manager You will need to log in as root with SSH to install the software: yum install ea-ruby24-mod_passenger ea-apache24-mod_env ea-nodejs10Īpplication Manager is now available in user cPanel accounts and ready to host Node.js applications. Next, we’ll install the software that allows cPanel to run and manage Node.js applications, including the mod_passenger app server and EasyApache4’s Node environment.

If it isn’t, click the adjacent box and then Save at the bottom of the page. Open Feature Manager, which is under Packages in the WHM sidebar menu.Ĭlick the Edit button under Manage Feature List with the Default list selected in the dropdown menu.Įnter Application Manager in the search field, and verify that its entry in the feature list is checked. We’ll use WHM’s Feature Manager to turn on Application Manager. To offer this feature to hosting users, server administrators should first install a handful of support packages and ensure that Application Manager is activated.

Getting Started With the cPanel Application ManagerĬPanel users can register Node.js applications and associate them with a domain in Application Manager. In this article, we explain how to activate cPanel’s Application Manager and how to install, register, and manage Node.js applications.

However, with cPanel & WHM’s Application Manager, installing JavaScript applications and configuring Node.js environments is a breeze, empowering web hosts to offer intuitive Node.js hosting services with an easy-to-use graphical interface.

Node.js hosting was once a complicated business, especially on multi-user web hosting servers.
