Enabling NodeJS in cPanel
Knowledgebase Article
}
Knowledgebase Article
You can now set up mutiple application quickly from within cPanel. Each NodeJS application can have it's own directory structure and installed on it's own domain, subdomain, or subfolder. Each installation can also have it's own modules. All of this can be managed from within the 'Setup Python App' page.
1.) Log into cPanel.
2.) Click the 'Setup Node.js App' icon
3.) Click on CREATE APPLICATION, then select your NodeJS version, application mode, and setup the app directory and domain. When done, click the 'Create' button:
4.) When setup you should see a screen similiar to the one below:
If you need to change an application, such as updating the NodeJS version or changing the application directory or URL you can do so from the existing application section. For the updates to take effect, you must click the 'Save' button at the bottom of the application window.
To remove an application, click the 'DESTROY button at the bottom of the application window.
Modules can be installed via SSH using NPM or if your application has the package.json (will be automatically detected), just press the Run NPM Install.
For a more in depth look at deploying a Python application, please take a look at How to deploy a NodeJS application.
Powered by WHMCompleteSolution