A SHARE OF $50,000 CASH! A SHARE OF $50,000 CASH!
We are aware of some customers receiving a fraudulent email claiming to be VentraIP Australia. Please do not open the link in this email, and mark it as spam immediately. If you have clicked the link in the email and entered your details, please update your VIPControl password immediately. Read More
View all Products Close Menu Menu
Setting up a Python app in cPanel
Updated Tuesday March 1st 2022 / Category Web Hosting

cPanel supports the ability to setup a Python application, here are the steps to do that:

  1. Login to cPanel.
  2. Click Setup Python App under Software.
  3. Click Create Application.
  4. Input the details for your Python application:
    1. Select a Python version.
    2. In the Application Root field, input the path you want for your Python app.
    3. In the Application URL field, set the URL you want your application to be publicly accessed from.
    4. In the Application Startup File field, input the name of the .py file used to start your web application.
    5. In the Application Entry Point field specify the name of the wsgi file for your application.
    6. In the Passenger Log File field, specify the path and file name you want for your Passenger log file.

Important things to consider

  • cPanel’s Python implementation uses the Apache Phusion Passenger extension, which is used to run Ruby, Python and NodeJS applications
  • Do not put any dashes in the Application Root / URL / Startup file / Entry Point fields
  • While our cPanel services support Python Applications, this would be beyond the scope of support that our Techincal Support Team could assist with. This includes both assistance with making the installation and the management of the Application itself.
Can’t find the answers you're looking for? Check out these other methods of support!