Python hosting
You run Python apps in cPanel through Setup Python App, on the same plan as your website and email. Python isn't available on every one of our servers, so we check yours before you order and enable it if needed.
What a Python app gets with us
In the START, PRO, BIZNIS, XXXL and ULTRA plans. The BLOG plan doesn't include Python. For an app with multiple users, we recommend PRO.
-
Setup Python App
Create, start and stop your app from cPanel, without SSH.
-
Python 3.11
Before you order, we confirm which versions your server has.
-
Virtual environment
Each app has its own, and you install packages from requirements.txt.
-
Environment variables
You enter secret keys in the app settings, not in the code.
-
Domain or subdomain
The app runs at the address you choose, with a free SSL certificate.
-
SQLite or MySQL
Keep SQLite next to your code, outside public_html; MySQL or MariaDB depends on the server.
From code to live app
Every WSGI app follows the same path; only the entry file differs.
-
App
In Setup Python App, you choose the version, folder and address. -
Code
Pull the code from Git or upload it to the app folder. -
Plans
Install the packages from requirements.txt into the virtual environment. -
Launch
passenger_wsgi.py connects the app to the server, and Restart loads your changes.
Questions about Python on our hosting
Can a Python app run on a regular hosting plan, or do I need a VPS?
It can run on a hosting plan; you don't need a VPS to start with. Python is included in plans from START upwards, and for an app with multiple users we recommend PRO.
Does the app keep running after a server restart?
Yes. Passenger starts the app on the first request, including after every server restart, with no manual start needed.
Do I need Waitress or Gunicorn?
No. Passenger serves your WSGI object from the passenger_wsgi.py file; Waitress stays for working on your own computer.
Does the SQLite database persist, and is it backed up?
Yes. The database is a file in your space and stays on the disk permanently. A backup is made four times a day, and you restore it yourself in cPanel, through JetBackup.
Can I move to a bigger plan or PostgreSQL later?
Yes. When you move to a bigger plan, you only pay the price difference. We enable PostgreSQL on request; if your server doesn't have it, we arrange a move to a server that does.
Do you help with the setup?
Yes, with the environment: Python version, SSH, SSL, database and domain. The application code stays on your side.
Can I run a bot or a script that runs all the time?
Not on hosting. Hosting starts the app when a request comes in; anything that has to run all the time belongs on a server.
Does Flask or Django work?
Yes, through passenger_wsgi.py. We've tested Flask 3.1 and Django 5.2 on Python 3.11; Django 6 requires Python 3.12.
Do I need SSH for Python?
Not necessarily. You install packages from the Setup Python App interface, and we enable SSH on request.
Tell us what your app needs
Tell us your Python version, framework and database, and we'll let you know which plan and server your app will run on.