---
title: "How to deploy Django"
version: 6.1
locale: el
source: https://docs.djangoproject.com/el/6.1/howto/deployment/
canonical: https://djangodocs.dev/el/6.1/howto/deployment/
---
# How to deploy Django

Django is full of shortcuts to make web developers” lives easier, but all
those tools are of no use if you can’t easily deploy your sites. Since Django’s
inception, ease of deployment has been a major goal.

There are many options for deploying your Django application, based on your
architecture or your particular business needs, but that discussion is outside
the scope of what Django can give you as guidance.

Django, being a web framework, needs a web server in order to operate. And
since most web servers don’t natively speak Python, we need an interface to
make that communication happen. The [`runserver`](/el/6.1/ref/django-admin/#django-admin-runserver) command starts a
lightweight development server, which is not suitable for production.

Django currently supports two interfaces: WSGI and ASGI.

- [WSGI](https://wsgi.readthedocs.io/en/latest/) is the main Python standard for communicating between web servers and
  applications, but it only supports synchronous code.
- [ASGI](https://asgi.readthedocs.io/en/latest/) is the new, asynchronous-friendly standard that will allow your
  Django site to use asynchronous Python features, and asynchronous Django
  features as they are developed.

You should also consider how you will handle [static files](/el/6.1/howto/static-files/deployment/) for your application, and how to handle
[error reporting](/el/6.1/howto/error-reporting/).

Finally, before you deploy your application to production, you should run
through our [deployment checklist](/el/6.1/howto/deployment/checklist/) to ensure
that your configurations are suitable.

- [Πως να ανεβάσετε το site σας χρησιμοποιώντας το WSGI](/el/6.1/howto/deployment/wsgi/)

  - [How to use Django with Granian](/el/6.1/howto/deployment/wsgi/granian/)
  - [Πως να χρησιμοποιήσετε το Django με το Gunicorn](/el/6.1/howto/deployment/wsgi/gunicorn/)
  - [Πως να χρησιμοποιήσετε το Django με το uWSGI](/el/6.1/howto/deployment/wsgi/uwsgi/)
  - [Πως να χρησιμοποιήσετε το Django με τον Apache και το `mod_wsgi`](/el/6.1/howto/deployment/wsgi/modwsgi/)
  - [How to authenticate against Django’s user database from Apache](/el/6.1/howto/deployment/wsgi/apache-auth/)
  - [Το `application` object](/el/6.1/howto/deployment/wsgi/#the-application-object)
  - [Παραμετροποιώντας το module των ρυθμίσεων](/el/6.1/howto/deployment/wsgi/#configuring-the-settings-module)
  - [Εφαρμόζοντας ένα WSGI middleware](/el/6.1/howto/deployment/wsgi/#applying-wsgi-middleware)
- [How to deploy with ASGI](/el/6.1/howto/deployment/asgi/)

  - [How to use Django with Daphne](/el/6.1/howto/deployment/asgi/daphne/)
  - [How to use Django with Granian](/el/6.1/howto/deployment/asgi/granian/)
  - [How to use Django with Hypercorn](/el/6.1/howto/deployment/asgi/hypercorn/)
  - [How to use Django with Uvicorn](/el/6.1/howto/deployment/asgi/uvicorn/)
  - [Το `application` object](/el/6.1/howto/deployment/asgi/#the-application-object)
  - [Παραμετροποιώντας το module των ρυθμίσεων](/el/6.1/howto/deployment/asgi/#configuring-the-settings-module)
  - [Applying ASGI middleware](/el/6.1/howto/deployment/asgi/#applying-asgi-middleware)
- [Λίστα ελέγχου για το Deployment](/el/6.1/howto/deployment/checklist/)

  - [Τρέξτε την εντολή `manage.py check --deploy`](/el/6.1/howto/deployment/checklist/#run-manage-py-check-deploy)
  - [Switch away from `manage.py runserver`](/el/6.1/howto/deployment/checklist/#switch-away-from-manage-py-runserver)
  - [Σημαντικές ρυθμίσεις](/el/6.1/howto/deployment/checklist/#critical-settings)
  - [Ρυθμίσεις ανάλογα το περιβάλλον](/el/6.1/howto/deployment/checklist/#environment-specific-settings)
  - [HTTPS](/el/6.1/howto/deployment/checklist/#https)
  - [Βελτιστοποιήσεις απόδοσης](/el/6.1/howto/deployment/checklist/#performance-optimizations)
  - [Αναφορά σφαλμάτων](/el/6.1/howto/deployment/checklist/#error-reporting)
