Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

Using the Node.js application registration tool - SIRSTEVEHQ CP

The application registration feature streamlines the management of your Node.js applications, making it easy to organize and control your projects. 

Requirements for an Application to be Discoverable

  1. A .env file is required in the document root of the application with a port number specified.
  2. An ecosystem.config.js is required in the document root of the application with your application name specified:
module.exports = {
 apps: [
   {
     name: 'My App',
     cwd: '/home/virtual/vps-abbd2c/3/33d9a261cc/public_html',
     script: 'npm',
     args: 'start',
     env: {
       NODE_ENV: 'production',
     },
     exp_backoff_restart_delay: 100,
   },
 ],
};

Follow these steps to use the tool effectively:

Step 1: Discovering Your Applications

  1. Navigate to the Node.js Application Registration Tool.
  2. Initially, no applications will be discovered.
  3. Click the “Discover applications” button.
  4. The tool will scan your web space to detect any Node.js applications.

Step 2: Application Discovery in Progress

  • The tool will display a status indicating that it’s actively discovering applications.
  • Please wait for the process to complete before proceeding.

Step 3: Managing Your Applications

  • Once the scan is done, the tool will list the discovered Node.js applications under “Registered Applications.”
  • You can:
    • View detailed information about each application.
    • Navigate directly to the application files using the “View in File Manager” link.
    • Unregister an application if needed by clicking “Unregister Application.”
    • Use the “Rediscover applications” button to refresh the list and detect any new additions or changes.

Additional Information and Support

  • Each application’s details include the path to its main executable file (e.g., app.js).
  • If you modify your web space or add new Node.js applications, use the “Rediscover applications” button to update the information.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Managed Magento Hosting requirement for ecommerce sites - SIRSTEVEHQ CP

As an ecommerce platform Magento is one of the best known solutions to manage online stores of...

Cloud Server optimisations in SIRSTEVEHQ CP

SIRSTEVEHQ provides a variety of cloud server optimization options. These options are designed to...

Do I get free email with Cloud Servers? - SIRSTEVEHQ CP

With our  Managed Cloud Servers Hosting packages you can take full advantage of our high-end...

What Cloud Server regions are available? - SIRSTEVEHQ CP

Our Cloud Servers are located across 60+ data centres, powered by SIRSTEVEHQCloud, AWS and GCP....

How does Managed Cloud Hosting billing work? - SIRSTEVEHQ CP

At SIRSTEVEHQ we want to give customers simple, transparent, and predictable pricing. You can...