move ALLOWED_HOSTS into local_settings.py
in the settings.py there should be only localhost entry,
all domain entries should be specified by local configuration at the machine
in the settings.py there should be only localhost entry,
all domain entries should be specified by local configuration at the machine