3

When I enter some dummy subdomain like test.mysite.com I always get my site no matter that that subdomain does not exist, where do I tweak that in WHM so that if that subdomain does not exist, user will get not found or something?

1
  • It might not be an option for your cPanel (depending on who your host is, might be best to directly ask your hosting site).
    – Chris S
    Jun 9, 2010 at 18:35

1 Answer 1

1

It sounds as though there is a wildcard entry in your DNS records, possibly a CNAME record that directs back to the root domain or the 'www' hostname. Remove the wildcard record and any hostname which isn't otherwise defined will return an error to the user about not being able to find the website (or an ad page run by their DNS provider or Internet provider in some cases if they hijack NX DOMAIN responses).

The wildcard entry is a star (*) in most DNS editors and implementations.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .