1👍
✅
Create a settings file for each domain where you list the apps that should be loaded and set SITE_ID
to a different number for each file (if you are using the sites framework). Then create a wsgi.py file for each domain where you set the environment variable to the corresponding settings file as DJANGO_SETTINGS_MODULE
.
You have to configure your web server to load the correct wsgi file for your domain.
Source:stackexchange.com