I just deployed to an Amazon EC2 bitnami djnago stack and I'm having trouble with the ALLOWED_HOSTS setting in the settings.py file. I am not sure what hostname to use or where to find it. I have tried internal IP, external IP, localhost, domain name. The only thing that gets the 500 error pages to stop, is:
ALLOWED_HOSTS = ['*']
But, this is a security issue. What am I missing?
['.yourdomain.com']
. Whereyourdomain.com
is the domain name you're using to access it. – Lockridge