How to redirect 'aaa.com' to 'www.aaa.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/05 23:08 UTC
Read the original article Hit count: 333

Filed under:
|
|

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

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

Thanks

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about iis7