Node.js apps

If you're running into issues with your own custom application, you can verify that the Node.JS service is running and operational by following this guide to create a basic 'Hello World' app.

Due to limited support and documentation for the Node Selector provided by cPanel/CloudLinux, we cannot provide any support beyond ensuring a simple demo application works under your account. This means that your application setup, installing required modules etc.. all fall outside of our support scope. For production Node applications, we would recommend a non-cPanel VPS.
  1. Login to your cPanel account.
  2. Navigate to the 'Software' section:
  1. Click 'Setup Node.js App'
  2. On the top-right click 'Create Application'
  1. Check the Node.js version before anything else. The form does not open on a sensible default - at the time of writing it pre-selects a release that reached end of life in 2021 and no longer receives security updates. Open the Node.js version menu and choose the one labelled (recommended), unless your application specifically needs a different release.
  2. Change the 'Application root' to 'helloworld'
  3. Change 'Application URL' to 'helloworld'
  4. Leave Application startup file as it is for this test - a real application would point it at your entry file, such as app.js.
  1. Click 'CREATE' at the top right
  2. You should now be able to browse to the test site at https://yourdomain.tld/helloworld
  3. If this works, then the node service is functioning correctly on the server.


How did we do?

Powered by HelpDocs (opens in a new tab)
© Krystal Hosting Ltd 2002–