Plesk: Setting up Support for Node.js Applications

This article  provides you with information on how to setup Node.js application Support via Plesk

Step 1– Login to Plesk.

  • Login with username and password received when you completed your subscription.

Step 2 – Click on Node.js

  • To install a Node.js application on your website, you need to upload the application’s files to the server first. You can upload them via  FTP or using the  File Manager.

Step 3 –  Enable Node.js

On this screen you can see a number of controls that will help you manage your Node.js application:

  • Node.js Version.This control displays the currently selected version of the runtime environment that will be used to run your application. Click the version number to select a different Node.js version.
  • Document Root.Here you can set the domain’s document root directory, which must be a subdirectory of the application root directory, specified below.
  • Application Mode.You can select between “Development” and “Production” modes, or type a custom mode name. The NODE_ENV environment variable will reflect your choice.
  • Application URL.Click this automatically generated URL to open the application in your browser.
  • Application Root.By default, the application root is the domain’s root directory. Click “[open]” to browse the contents of the application root directory using the File Manager. Additionally, in Plesk for Linux, you can click the currently set application root path to set a custom application root.
  • Application Startup File. By default, the startup file name is presumed to be app.js. Click it to type a custom startup file name.

Was this post helpful?