Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I am having an issue with the wild card domains. We use Windows 2003 Server.

We have created a wild card entry in the DNS settings for one of our websites. We did this as we needed to create around 20 sub domains.

We have configured the sub domains in the IIS like, etc, each of them directed to respective folders.

Lately we have observed an issue. Google has reported that we have relatively huge amount of pages (around half a million). But in real, we don't have that many pages.

We we did our home work we have identified that entering a non-existing (or non-defined) sub domains like is loading the contents of

Our Thinking: There may be a wrong link in a sub domain, which is connecting to a folder which is available in the main domain.

In Detail: Let's imagine we have this folder, Due to the wrong link, user will be able to access the same page like this Search engines treat this as a different page and index it and therefore the total number of pages get increased.

Now the question is, what should I do in IIS to load an error page when a user enters a non-existing sub domain? And also, is our thinking correct? Please Help!

share|improve this question

My guess is that IIS, like Apache, has a "default" host. This is the one rendered if you don't have an exact match.

What you could do is make certain this default is simple and only lists which names your site actually responds with, or does an actual http redirect to some site of your choice.

For example, see which is my default "wow, I don't know that name" landing page.

Be careful with wildcard DNS, it will often bite you in the arse.

share|improve this answer
Thanks, Michael. Can you please provide specific settings which I need to change? – Chirans Nov 23 '09 at 9:38
I'm afraid not, as I do not run IIS. – Michael Graff Nov 24 '09 at 19:08

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.