A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
I got HTTP error 400 when I try to type www.mydomain.com in my browser
I tried yesterday to use A record:
A | 188.xxx.xx.xxx
but still get error 400
An http error would indicate that your domain is resolving and the issue is likely with your scripts or web server configuration and not with DNS. I would recommend checking your web server log files to ensure that it is receiving the request and to look for any error details provided there.
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
Everything is working now, the problem was in Django settings.py.
ALLOWED_HOSTS = ['mydomain.com']
ALLOWED_HOSTS = ['*']