You can still get assistance by raising a ticket with our support department should you not be able to find what you are looking for here.

← Back to Extra Features

Setting Up Python Applications

Deploy Python web apps using DirectAdmin Python application support.

DirectAdmin supports Python web applications through configured application servers, letting you run Flask, Django, and similar frameworks.

Set up a Python app

  1. Go to Extra Features → Setup Python App (or Python Selector).
  2. Select the domain and application root directory.
  3. Choose the Python version and framework entry point.
  4. Configure the application URL and startup file (for example passenger_wsgi.py or app.py).
  5. Install dependencies via the terminal with pip install -r requirements.txt.
  6. Start or restart the application.

Troubleshooting

Check application logs in the app directory if you receive a 500 error. Ensure virtual environment paths and WSGI configuration match your framework documentation.

← Back to Extra Features