How to redirect 'example.com' to '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
12:58 UTC
Read the original article
Hit count: 234
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