Changed the ALLOWED_HOSTS variable in the settings.py file.