Can the allowed_hosts in django settings not be set, and what will be the impact?

rttttttttttttttt

Mar.18,2021

is mainly for security, allowing only (hosts) access to the domain name you set.
if you don't add it, or set it to "*", it's possible that someone can point the resolution of a domain name to your server and access it.

Menu