#Add the name of your app in the list of alowed hosts in settings.py:
ALLOWED_HOSTS = ['myapp.herokuapp.com']
#or if you're using custom domains you might want to add this way:
heroku config:set DJANGO_ALLOWED_HOSTS=.example.com,example.herokuapp.com