How to redirect sub-domains on IIS

I would like to know if someone can help me redirect inexistent sub-domains calls to my main domain, for an example; when someone does a type-O it would bring to my home page, any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ChrisSr. Systems EngineerCommented:
Open IIS Manager, go to the subdomain you want to redirect. From the right panel, open HTTP Redirect.
Adjust the properties to redirect to the URL you want it redirected to.
A couple technical URLs to review :
Dan McFaddenSystems EngineerCommented:
When you said
redirect inexistent sub-domains calls to my main domain
do you mean sub-domains that do not exist?

If you mean sub-domains that do not exist, then the answer is no.

The reason is that the non-existent sub-domains have no DNS entries therefore these FQDNs (URLs) cannot be resolved to find the IP address associated with them.  If you cannot find the IP address of the web server hosting teh sub-domain, then the http request will not hit your server, meaning no redirection can occur.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dan McFaddenSystems EngineerCommented:
Any more info about this question?

Dan McFaddenSystems EngineerCommented:
Any feedback for this question?

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.