mega may 2024 pattern
mega may - spin to win

MEGAMay’s Spin to Win* Sale is on Now – Up to 70% OFF

100% Australian Owned and OperatedSupport Centre13 24 85Pay an InvoiceLOG IN
supportcentre scaled
Support Centre
Find the answers to your questions and get the support you need with the VentraIP help centre.

Setting up a NodeJS application in cPanel

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

cPanel supports the ability to create a Node.js 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.
misc content center scaled