Link to home
Start Free TrialLog in
Avatar of patron
patronFlag for India

asked on

URL Redirection in IIS 7.5

I have configured one website www.abc.com with SSL on my Webserver running on IIS 7.5 on Windows 2008 R2.
Now when any user goes to  https://abc.com -he just get the certificate error, because my SSL is configured for https://www.abc.com

Please confirm if I can put permanent redirection to  https://www.abc.com  weather user is trying any link like: https://abc.com    or etc.
Kindly confirm  how it can be done in IIS 7.5 without any downtime of my production website.
Also confirm if it can be done with Code ,My Website is running on ASP.Net
Avatar of Massimiliano Loi
Massimiliano Loi
Flag of Switzerland image

I think you should change the WWW record into your authoritative DNS. It should be an alias of the A NAME:

www.abc.com --> abc.com

This will redirect all the request made on "abc.com" to "www.abc.com".
ASKER CERTIFIED SOLUTION
Avatar of Sanjay Santoki
Sanjay Santoki
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Noted, Sanjay link to Scott's blog is correct as well. The only difference in my rule is that i check for the domain NOT equal as I have many alias that come in bound.

Cheers,
Hades666
Avatar of patron

ASKER

Thanks