Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In IIS, I have a subdomain: sub.mydomain.com

BUT, if someone incorrectly types it as: www.sub.mydomain.com it doesn't work.

How do I resolve this issue?

Thanks!

share|improve this question
add comment

1 Answer 1

With IIS6 you cannot create wildcard subdomains, you will have to use DNS (or ISAPI rewrite) to handle *.sub.mydomain.com.

For more information on wildcard subdomains and windows you can actually use ServerFault ;-). See this post here: Wildcard DNS and subdomains

For more information on ISAPI rewrite you can use the following page: Creating Dynamic Subdomains in IIS using ISAPI_Rewrite

share|improve this answer
add comment

Your Answer

 
discard

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