django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: ‘xyz.ap-south-1.amazonaws.com’. You may need to add ‘.xyzamazonaws.com’ to ALLOWED_HOSTS.
[1717411490792] [ERROR] 2024-06-03T10:44:50.778Z c139cd72-2799-426b-8699-df103ac5ec01 Invalid HTTP_HOST header: ‘xyz.ap-south-1.amazonaws.com’. You may need to add ‘xyz.amazonaws.com’ to ALLOWED_HOSTS.
New contributor
Akhil Sharma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.