Added the ALLOWED_HOSTS in settings.