Python
Learn how to use Python with your web hosting.
1. Module Settings
2. Frequently Asked Questions (FAQ)
Python is included in our Web Hosting 4000 and Web Hosting 8000 plans.
The Python module can be found in the Webhosting Control Panel (WCP) in the Dashboard under Dev Tools.
Python integration is handled by a Phusion Passenger server with a WSGI interface. Therefore, your applications must be written specifically for WSGI.
You can find more information about Passenger in the official documentation: Pushion Passenger Documentation (external link)
1. Module Settings
Activate: Enables Python support for the corresponding domain.
Disable: Deactivates Python support for the corresponding domain.
Rewrite Config: Applies changes to the settings.
Application Reload: Only restarts the application server.
Any changed settings will only be applied after the application is restarted. Clicking Application Reload creates the file restart.txt in the App Root/tmp/ directory. This causes the Passenger server to reload the application.
App Root: Specifies the root directory of the application. It is relative to the webspace and should not be located in the document root for security reasons.
Startup File: This file starts the execution of your application. The file must first be uploaded to Files > Plus Icon in the app root directory.
Python Version: The currently available Python versions are displayed here.
Mode: If the mode is set to Production , no error messages are displayed. If the mode is set to Development , error messages are displayed.
Ensure that no application is stored in the domain’s document root (index.html, index.php, etc.).
2. Frequently Asked Questions (FAQ)
No, it is not possible to use Python via CLI with our web hosting plans. It can only be managed via the application in the Webhosting Control Panel (WCP) in a browser.
Python is provided in a secure environment within Phusion Passenger and therefore cannot be executed via SSH or Cron. It can only be managed via the application in the Webhosting Control Panel (WCP) in your browser.
To add Python to your web hosting, you must upgrade to web hosting 4000 or web hosting 8000.
Set the mode in the settings to Development to see error messages.
Make sure you have specified the correct app root and that your startup file is stored correctly. If necessary, try using a different browser.
Official Python Documentation (external link)
Flask Documentation (external link)
Python Quickstart Tutorial (external link)
Feel free to take a look at the netcup Forum. You will find helpful answers and support from other users.
Last update: 23 July 2026