Deploy
Django hosting, without the DevOps.
Deploy a Django app straight from GitHub onto a server we provision and maintain. Selfhost.dev builds it, runs your migrations and a Gunicorn or ASGI server, and handles static files, a managed Postgres, and SSL, with auto-deploy on push.
Why wrangle Gunicorn, Nginx, and a VPS, when Selfhost.dev can run it for you?
What you get
Your Django app, in production.
On a server you control.
Django in production usually means Gunicorn or an ASGI server, a Postgres database, static and media files, and a reverse proxy with TLS. Selfhost.dev handles the server, the proxy, and SSL, builds your app from the repo, and gives you a managed Postgres to point DATABASE_URL at. You write Django; we run the box.
Deploy in 5 steps
From zero to live.
No server to set up.
From repo to a live Django site, with the server, database, and TLS handled.
Create a Project
Name it and Selfhost.dev provisions a dedicated server in a couple of minutes.
Connect your Django repo
Connect GitHub or paste a repo URL, pick a branch, and enable auto-deploy on push. Nixpacks detects Python from your requirements or pyproject.
Set the start command
Point it at gunicorn yourproject.wsgi or an ASGI server like uvicorn, set the port, and configure the build to collect static files.
Add a managed Postgres
Drop a PostgreSQL into the project, or attach a dedicated managed instance, and set DATABASE_URL in your environment.
Set env vars and go live
Add SECRET_KEY, ALLOWED_HOSTS, and your config (paste a .env to import), point a domain, and HTTPS is provisioned automatically.
Environment variables
Configure it
in minutes.
Django reads its config from the environment. The common ones:
Paste a .env to import in bulk, or set keys one by one. Values are wired into every build and deploy.
Key variables
Why Selfhost.dev
Django, the easy way.
On a server you control.
Gunicorn or ASGI
Run WSGI with Gunicorn or async Django with an ASGI server. You set the start command; we run it.
Managed PostgreSQL
Add a one-click Postgres in the project, or a dedicated managed instance with PITR, pooling, and Multi-AZ.
Static and media files
Collect static at build time and serve them from your server, with whitenoise or your own setup.
Auto-deploy on push
Every push builds, migrates, and ships, with PR previews, rollback, and streaming logs.
Custom domain + SSL
Add your domain, verify DNS, and renewed HTTPS is handled for you.
Pay only for what you run
From around $0.02/hr against prepaid credits, paused at a zero balance.
Drive it from your AI editor
Trigger deploys, stream logs, set env vars, and add domains from Claude, Cursor, or any MCP client: 150+ MCP tools.
Django, Postgres, and more on one server
Run your Django app, a Celery worker, Redis, and Postgres on the same project server, billed as one server, not four add-ons.