Link to home
Start Free TrialLog in
Avatar of dowhatyoudo22

asked on

how to redirect a secure site to www

I have an SSL key for '' When users go to '' everything works just fine. When users go to '' they are presented with a certificate error message. My site is running on Windows Server 2008 R2 (IIS 7.5) how can I configure IIS so that all attempts to '' are redirected to '' ?

I have tried to use the HTTP Redirect function but when I enter '' into the destination field and test I get an error that the page cannot be loaded.

I have tried to use the URL Rewrite function but nothing appears to happen.

Any suggestions?
Avatar of Wayne88
Flag of Canada image

Can you have a look at this site and let me know if this is the way you did it?  I didn't run into problem redirecting non WWW to the WWW website.

HTTP Redirection in IIS 7 on Windows Server 2008:
You can't use a redirect for that because the connection is being rejected before you can redirect it.  However, most Certs are issued for both the '' and '' names.  You should talk to the cert supplier about that.
Avatar of dowhatyoudo22

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dowhatyoudo22


URL Rewrite was the solution