A SHARE OF $50,000 CASH! A SHARE OF $50,000 CASH!
We are aware of some customers receiving a fraudulent email claiming to be VentraIP Australia. Please do not open the link in this email, and mark it as spam immediately. If you have clicked the link in the email and entered your details, please update your VIPControl password immediately. Read More
View all Products Close Menu Menu
Setting up a NodeJS application in cPanel
Updated Thursday February 4th 2021 / Category Web Hosting

IMPORTANT: This is an advanced guide, and is intended to help Node.js application developers get started

cPanel supports the ability to create a Ruby application, here are the steps:

  1. Log in to cPanel.
  2. Click on Setup Node.js App under Software.
  3. Click Create Application.
  4. Input the details for the application:
    1. Node.js Version: You can choose from any of the availabe versions in the drop down menu
    2. Application Mode: Development and Production modes are available
    3. Application Root: Here is where you determine the file/folder path to your application
    4. Application URL: This is where you decide what URL your application will be access from
    5. Application Startup File: This is where you input the name you want for your applications main startup file
    6. Passenger Log File: This will be the filename for the Apache Passenger Log file
  5. Click Create.

Managing your application via SSH

cPanel provides you with the virtual environment for your Node.js application, which you can access via SSH. Here are the steps:

  1. Log in to cPanel.
  2. Click on Setup Node.js App under Software.
  3. Click the Edit option next to your application (the pencil icon).
  4. Next to “Enter to the virtual environment. To enter to virtual environment, run the command” you will see the command that starts with the word source. Copy the command.
  5. Log in to your account via SSH.
  6. Run the command provided, this will load you into the Node.js application’s virtual environment.
Can’t find the answers you're looking for? Check out these other methods of support!