Question

[DNS configuration] Using www does not work

  • Posted January 13, 2015

http://i.imgur.com/V4ErCkZ.png

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

Subscribe
Share

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.

This comment has been deleted


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Everything is working now, the problem was in Django settings.py.

I’ve changed

ALLOWED_HOSTS = ['mydomain.com'] 

to

ALLOWED_HOSTS = ['*']