I'm not so sure how ask this, but here's.
I bought a domain let's called foo.com
and I develop an application in .net
with mvc3 framework
also I have in my server a trusted ssl by Thawthe but only work's with www.foo.com
. Now what I want it's always redirect all my users from foo.com to www.foo.com
.
How can I do this? with a dns enter? if this the answer could you provide an example?.
Or do I need to add some code let's say in the global.asax
in some evet check url provided in the request of the user ahd redirected to what I wanted?.
Could be a configuration that could be added in the web.config?
My application it's manage by a dot net panel provided by a host seller