Avatar of jdff
jdff
 asked on

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 www.zzzzzz.mydomain.com it would bring to my home page www.mydomain.com, any ideas?
Microsoft IIS Web Server

Avatar of undefined
Last Comment
Dan McFadden

8/22/2022 - Mon
Chris

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.
iis.PNG
A couple technical URLs to review :
https://technet.microsoft.com/en-us/library/cc732969(v=ws.10).aspx
https://technet.microsoft.com/en-us/library/cc770409(v=ws.10).aspx
http://blogs.iis.net/ksingla/archive/2007/05/03/client-side-redirection-using-httpredirection-module.aspx
ASKER CERTIFIED SOLUTION
Dan McFadden

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Dan McFadden

Any more info about this question?

Dan
Dan McFadden

Any feedback for this question?

Dan
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck