Skip to content
Hosting

Django hosting

Push a Django project and Ownkube builds it and serves it through Gunicorn on a public HTTPS hostname. Link a managed Postgres database for DATABASE_URL, and run migrate as a one-off job before the new version takes traffic. There is no server to patch and no cloud account to set up.

Django hosting at a glance

  • Automatic Python builds, or your own Dockerfile.
  • Serve with Gunicorn on port 8000, bound to 0.0.0.0.
  • Run manage.py migrate as a job, so migrations run once per release instead of on every container start.
  • Managed Postgres 17 or 18 with 7-day backups on the Personal and Team plans.

How to host a Django app on Ownkube

  1. 1

    Connect the repo

    Sign in, connect GitHub or GitLab, and pick the Django repo. Ownkube detects Python and builds it automatically.

  2. 2

    Set Gunicorn and the port

    Start with gunicorn yourproject.wsgi:application --bind 0.0.0.0:8000 and set port 8000 on the deployment.

  3. 3

    Link Postgres and migrate

    Link a database, read DATABASE_URL in settings.py, and run manage.py migrate as a job ahead of the deploy.

The step by step version, with code: How to deploy a Django app on Ownkube.

What Django hosting costs

Metered usage bills about $18 per vCPU and $4.50 per GiB a month, per minute. Databases run on flat boxes plus $0.25 per GB of storage. Everything draws one prepaid wallet, and unused credit never expires.

Workload Setup Per month
Small Django site 0.1 vCPU average, 0.5 GiB held about $4
Django with Postgres Same app + DB 0.5 box ($4) + 5 GB storage ($1.25) about $9.30
Django with a Celery worker App and worker at 0.25 vCPU / 0.5 GiB each, DB 1 box ($8) + 5 GB, Cache 0.25 ($2) about $25

Estimates for one month of continuous running. See pricing for every box and rate.

How Ownkube compares for Django hosting

The smallest app plus a small managed Postgres on each platform, from each provider's public pricing page.

Platform App Managed Postgres Billing
Ownkube Metered at about $18 per vCPU and $4.50 per GiB a month, or a $5 Spark 1 box From $4 a month plus $0.25 per GB Prepaid wallet, unused credit never expires
Railway Metered at about $20 per vCPU and $10 per GB a month Runs as a metered service plus $0.15 per GB volume Postpaid, $5 Hobby plan includes $5 of usage
Render From $7 a month (0.5 CPU, 512 MB) From $6 a month plus $0.30 per GB Postpaid, workspace plan from $0
Fly.io From $2.19 a month (shared-cpu-1x, 256 MB) Managed from $38 a month plus $0.28 per GB Postpaid, pay as you go
Heroku Eco $5 or Basic $7 a month Essential-0 from $5 a month Postpaid, per dyno

List prices checked 2026-10-13. For a full-stack estimate, try the cost calculator.

Django hosting questions

Something else? Email support@ownkube.io.

Where can I host a Django app cheaply?

A small Django site with a managed Postgres database runs for about $9 a month on Ownkube, metered per minute from a prepaid wallet. The app bills the CPU it uses and the memory it holds, and the database is a flat $4 box plus storage.

How do I run Django migrations on Ownkube?

Run python manage.py migrate as a job. A job runs a container to completion, so migrations happen once per release instead of on every container start.

How do I serve Django static files?

Use WhiteNoise to serve collected static files from the app itself, and run collectstatic during the build. For large media uploads, use object storage.

Can I run Celery with Django on Ownkube?

Yes. Deploy the same repo a second time as a worker with the Celery command, and link a managed Valkey cache as the broker.

Host your Django app

Push the repo and get a live HTTPS URL. No cloud account to set up.

Deploy my first app