setup_nodejs_app
Provision and configure a complete Node.js application on cPanel with Passenger, .htaccess routing, starter files, and domain mapping.
Instructions
Provision and configure a complete Node.js application with Passenger, .htaccess routing, starter files, and domain mapping
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Internal application port | 3000 |
| domain | Yes | Domain or subdomain to host this Node.js app on (e.g. 'api.example.com') | |
| app_name | Yes | Application identifier (e.g. 'api-service', 'express-app') | |
| app_root | Yes | Application root directory (e.g. 'nodejs/my-app' or 'public_html/api') | |
| env_mode | No | Deployment environment mode | production |
| entry_point | No | Main startup file (e.g. 'app.js', 'server.js', 'index.js') | app.js |
| node_version | No | Node.js runtime major version (e.g. '18', '20', '22') | 20 |