Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I enter some dummy subdomain like 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?

share|improve this question
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 '10 at 18:35
up vote 1 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.