Ask him -
ALLOWED_HOSTS = [ '.yourdomain.com' ]
Where yourdomain.com is the domain name that you use to access it.
the documentation says -
The values ββin this list can be fully qualified names (for example, "www.example.com"), in which case they will be mapped to the prompts for the Host header exactly (case insensitive, not including the port). A value starting with a period can be used as a wildcard subdomain: ".example.com" will match example.com, www.example.com and any other subdomain of example.com.
When you install it on www.yourdomain.com , there should be some request for a subobject other than www . This caused a problem. I canβt say for sure, because I do not have such information.
source share