django.core.exceptions.DisallowedHost: Invalid HTTP_HOST headerのエラーが出た時の対処法

settings.pyに以下の設定を行う

ALLOWED_HOSTS = ['*']
# or
ALLOWED_HOSTS = ['your IP']