A Node.js application is a software program developed using the Node.js runtime environment. It allows developers to run JavaScript code outside of a web browser, making it suitable for server-side and command-line applications.

1. Log into your control panel.
For instructions on how to log into your control panel, see the links below:
For cPanel, click here
For DirectAdmin, click here

2a. You will need to create a JSON file in the directory of your application, which will be referenced later on.

 

2b. Navigate to the Setup Node.js App and click the icon to open the application.

In cPanel, this is located under the Software section.

a84f19ade94bd5ae07c38ef9d79df8efd362067b6699aaea79488ed0e12e05d02631112b289597b7?t=7d82573e032c525aaa775ac54d1dc9c1

In DirectAdmin, this is located under the Extra Features section.

d595dd0a054e4d926cd896ed4e773f8cfcbf97259e9c4a7e6b5294d0f26d942e8f5c95b810a07e15?t=f45bd0fd53c51b21d5a846fbd0e921cc

 

3. Click on Create Application button.

b5b0caca4f67f4b08e3fd65a8950da89d3ada2a57fcde9276d153ebafe8ef931aff6ddd33ef382dc?t=99ed6d478b330b9c7800e8aa665f3229

 

4. Complete the form with your preferred details.

Node.js Version - The version of Node.js your application will utilise.

Application root - The directory where all your application files will be stored.

Application URL - The URL which will serve the application.

Application startup file - The file path which will serve the .js file. (Required to entire the file path and file name)

Environment variables - You can add environment variables for your application.

971a807e32266b52da887456475fbab5586152c4855f4032fe0352ed7a6a1a17ab163034ff51cfc0?t=b28c1d617a99bfe7705bd62219082399

Once completed, click the Create button.

 

That's it. You have deployed your Node.js application.