Deploy
Django hosting,
without the DevOps.Deploy a Django app straight from GitHub onto a server we provision and maintain. SelfHost 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 you can SelfHost it?
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 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 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
What you get
Django, the easy way.
On a server you control.
Run WSGI with Gunicorn or async Django with an ASGI server. You set the start command; we run it.
Add a one-click Postgres in the project, or a dedicated managed instance with PITR, pooling, and Multi-AZ.
Collect static at build time and serve them from your server, with whitenoise or your own setup.
Every push builds, migrates, and ships, with PR previews, rollback, and streaming logs.
Add your domain, verify DNS, and renewed HTTPS is handled for you.
From around $0.02/hr against prepaid credits, paused at a zero balance.
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.