Application hosting

Hosting Django

Django is a Python framework for building web applications. The hosting setup needs to run your application, its database and any background tasks, with Python compatibility determined by the Django release.

Requirements last checked against the project's documentation.

A sensible first server for Django is 1 vCPU, 1 GB RAM and 10 GB of storage. The cheapest listed plan that fits is Basic from Kamatera at $4.00/month.

  • LicenseBSD-3-Clause

Understand the setup

Find the software and services needed to run the application.

See requirements

Budget your resources

Plan memory, storage and CPU for the way you will use it.

Open resource planner

Build your shortlist

Compare plans for the starting size, then review the provider and billing terms.

See plans

Must have

Installation requirements

  • Python 3.12, 3.13, or 3.14

Recommended

Planning guidance

  • PostgreSQL is recommended for production; Django also supports MariaDB, MySQL, SQLite, and Oracle.Database choice and version are project-specific.

Choosing a server for Django

Budget the Python workers, database and background jobs used by the application. Runtime compatibility alone does not determine how much traffic a server can handle.

Where to start

A sensible first server for Django

vCPU
1
RAM
1 GB
Disk
10 GB

Our estimated starting configuration for a small website on one server. Adjust it after observing resource use under real traffic. PostgreSQL on the same server needs extra memory.

Django deployment checklist · Size it for your workload

Our shortlist

Cheapest plans that meet this size

  1. Kamatera Lowest price

    Basic

    • 1 vCPU
    • 1 GB RAM
    • 20 GB NVMe SSD
    $4.00/mo list price
  2. OVHcloud

    OVHcloud VPS-1 (US)

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $4.54/mo list price
  3. Hostwinds

    Unmanaged Linux VPS 1 GB

    • 1 vCPU
    • 1 GB RAM
    • 30 GB SSD
    $4.99/mo list price
  4. VPSDime

    Linux4GB

    • 2 vCPU
    • 4 GB RAM
    • 20 GB SSD
    $5.00/mo list price
  5. Vultr

    Vultr Cloud Compute · 1 vCPU / 1 GB

    • 1 vCPU
    • 1 GB RAM
    • 25 GB Standard SSD
    $5.00/mo list price
  6. KnownHost

    Unmanaged VPS Entry

    • 1 vCPU
    • 1 GB RAM
    • 25 GB NVMe
    $5.00/mo list price
  7. RamNode

    Standard VPS 1 GB

    • 1 vCPU
    • 1 GB RAM
    • 40 GB SSD
    $5.00/mo list price
  8. Akamai Linode

    Linode Nanode 1 GB

    • 1 vCPU
    • 1 GB RAM
    • 25 GB SSD
    $5.00/mo list price

One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.

Deploy with

Supported paths

  • WSGI application server
  • ASGI application server
  • Container-based deployment

The host must provide

Runtime

Python
3.12–3.14 for Django 6.0 at review time
WSGI or ASGI server
Production server selected for the application
Database driver
Depends on the selected supported database

Storage

Persistent data

Static files, uploaded media, and database growth are application-specific. Configure persistent media storage and backups separately from deployable application files.

Step by step

Production deployment outline

  1. Pin the Django and Python versions

    Use a currently supported Python version for the specific Django release and install from a locked dependency file.

    Official instructions
  2. Set production configuration

    Keep DEBUG disabled, supply a unique SECRET_KEY from server-side secrets, configure ALLOWED_HOSTS, and select a production database.

    Official instructions
  3. Run a production server behind a reverse proxy

    Serve through WSGI or ASGI, terminate TLS at the public proxy, and collect and serve static files through the chosen production setup.

    Official instructions
  4. Run deployment checks and verify backups

    Run Django deployment checks against production settings and confirm database and media recovery procedures.

    Official instructions

Security

Before you go public

  • Keep SECRET_KEY out of source control and use distinct production secrets.
  • Disable DEBUG, configure ALLOWED_HOSTS, HTTPS, secure cookies, and CSRF trusted origins.
  • Run manage.py check --deploy and review every warning.

Cost

Beyond the server price

  • Budget for the application server, database, persistent media, backups, and any worker processes.
  • Database and worker load depend on the application and the traffic it handles.

Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.