- How a Django app runsA WSGI or ASGI server such as Gunicorn runs your code.
- Where to run itVPS or cloud server: full control, you manage the stack.
- What to checkSupported Python versions and how you upgrade.
How a Django app runs
- A WSGI or ASGI server such as Gunicorn runs your code.
- A reverse proxy such as Nginx handles HTTPS and static files.
- A database, often PostgreSQL, stores data.
Where to run it
- VPS or cloud server: full control, you manage the stack.
- Managed platform: simplest deploys, usage pricing.
- Shared plan with Python support: cheap, limited control.
What to check
- Supported Python versions and how you upgrade.
- SSH access and a way to install packages.
- Background workers and scheduled tasks.
- Where the database runs and how it is backed up.
How do you deploy Django?
- Set production settings
Turn off debug, set allowed hosts and secrets.
- Run it with a WSGI or ASGI server
Gunicorn or similar.
- Serve static files
Through a proxy or CDN.
- Run the database
PostgreSQL is common; back it up.
What should you check in a host?
- Python versions and package installation.
- SSH access and the ability to run background workers.
- Database availability and backups.
- Memory for your workers.
Where should you run it?
A VPS is the common choice; see VPS hosting and how to secure a new VPS. A platform reduces server work. Read the official deployment checklist before you launch.