invalid subdomains return 526 instead of nothing

i own the domain https://reidlab.online. i want to make it so if you have an invalid subdomain (like this: https://notrealsubdomain.reidlab.online) it should return nothing instead of a "526" error. like how almost every other domain does it (like this: https://notrealsubdomain.google.com/)
6 Replies
reidlab
reidlabOP17mo ago
an official cloudflare source says to use Full instead of Full (Strict) but i want to be as secure as possible
Erisa
Erisa17mo ago
You probably created a wildcard DNS record?
reidlab
reidlabOP17mo ago
yes i did
Erisa
Erisa17mo ago
Thats why theyre not returning nothing, because the wildcard makes every single subdomain resolve to something
reidlab
reidlabOP17mo ago
ah i see
Erisa
Erisa17mo ago
Then the 526 is because whatever certificate the origin chose to serve for the host is not valid for that subdomain - probably if it doesnt recognise the domain it defaulted to some self-signed cert, but thats just a guess

Did you find this page helpful?