Please, see the “sites” framework by this link: https://docs.djangoproject.com/en/dev/ref/contrib/sites/