SSL certificate issue when redirecting from 'https://example.com' to 'https://www.example.com'

Posted by Nan Li on Stack Overflow See other posts from Stack Overflow or by Nan Li
Published on 2010-05-05T23:00:43Z Indexed on 2010/05/06 18:18 UTC
Read the original article Hit count: 268

Filed under:
|
|

I've mapped 'example.com' and 'www.example.com' to the same IP address with my hosting service provider. But because my SSL certificate only works for 'www.example.com', so what I want is when the user visit 'example.com', he will be redirected to 'www.example.com'.

I'm using ASP.Net MVC and IIS 7.

Thanks

© Stack Overflow or respective owner

Related posts about ssl

Related posts about ssl-certificate