MKhost Knowledgebase

Need help? Search or browse our large collection of articles on a variety of topics including hosting, domains, emails and more .

Hosting platforms, hosting packages information, questionsDomain registration, transfer, DNS ServersCreate, e-mail address setupcPanel helpdesk knowledge baseMKhost client areaInformation about email hosting servicesGeneral information
0cPanel

How to set up a Python application via cPanel

If you already have a Python web application, follow these steps to deploy it through cPanel.

1. Create the application in cPanel

OpenSetup Python App → Create Applicationand complete the following fields:

  • Python version:Select the Python version your application uses.
  • Application root:Enter the folder where you will upload your files, for example .
  • Application URL:Select the domain or subdomain where your application will run.
  • Application startup file:Enter your application's WSGI startup file.
  • Application Entry point:Enter the WSGI callable object defined in that file.

The startup file and entry point depend on your application. If you do not know these details, ask your application developer.

ClickCreate.

2. Upload your files

IncPanel → File Manager, open the folder you specified as theApplication root.

Upload your application files. If they are in a ZIP archive, upload it and selectExtract. Make sure the startup file is directly inside the folder specified as the Application root.

3. Start the application

InSetup Python App, clickRestart, then open theApplication URL.