Set up a Node.js application
1
Open Application Manager
In cPanel, find Setup Node.js App under the Software section.
2
Create a new application
Click Create Application and choose your Node.js version.
3
Configure paths
Set the application root (where your code lives), the application URL, and the application startup file (usually
app.js or server.js).4
Install dependencies
Enter the application, then click Run NPM Install to install packages from
package.json.5
Start the app
Click Start to run your application. Visit the assigned URL to test.
Manage environment variables
1
Open your app
In Setup Node.js App, click the pencil icon next to your application.
2
Add variables
In the Environment variables section, add each variable name and value.
3
Restart the app
Click Restart so your app loads the new values.
Supported features
Multiple Node.js versions
Select from supported Node.js LTS versions.
NPM support
Install and manage packages with
package.json.Custom startup file
Point to any
.js entry file.Persistent processes
Apps stay running with automatic process management.
Deploy code updates
1
Upload new code
Use File Manager, FTP, or Git to update files in your application directory.
2
Install new dependencies
Run NPM Install in Application Manager if
package.json changed.3
Restart the application
Click Restart to load the new code.
Node.js hosting availability depends on your plan. Check your plan details or contact support@enrolweb.com to confirm.
.png?fit=max&auto=format&n=dGkoxjFuwLusXp7Z&q=85&s=32c3cb11b5a290cd869640fca5093944)