Deploy Modern Web Applications with Ease
The Application Manager utilizes the powerful Phusion Passenger® server to run applications in languages such as Node.js™, Python™, or Ruby™ on your hosting account. It acts as a manager that starts and monitors your app, handling the connection to the web server (Apache/NGINX).
Registering an Application
To bring a new application online, follow these steps:
- Navigate to Software » Application Manager in cPanel.
- Click on Register Application.
- Application Name: Give your app an internal name for reference.
- Deployment Domain: Select the domain or subdomain.
- Base Application URL: Define the path where the app should be accessible (e.g., simply
/for the main page). - Application Path: Enter the path to your source code relative to the home directory.
- Deployment Mode: Choose Development for testing or Production for live operation.
- Click on Deploy.
Managing Environment Variables
Many modern apps require variables for database passwords or API keys. You can store these securely in the Environment Variables section:
- Click on Add Variable.
- Enter the name (e.g.,
DB_PASSWORD) and the corresponding value. - These values are available to the application in the background without needing to be hardcoded into the source code.
Management and Troubleshooting
For Node.js apps, you can install missing packages directly via the "Install Dependencies" button.
Error messages can be found in your app's directory. For Node.js in the
/logs/ subfolder, for Python in the stderr.log file.Unregistering removes the app from the manager and deletes the configuration, but leaves your source code on the server untouched.
Tip: Use Git Versioning in cPanel to pull your code directly from GitHub
to the server before registering it here.