1

I have my HomeController decorated with [RequireHttps], the problem is that my certificate is just on http://www.mysite.com

Now, if people go to http://mysite.com they get an Untrusted Connection error (on Firefox)

What can I do to prvent this from happening?

1 Answer 1

4

My simple solution would be to have a requirement that all mysite.com are redirected to www.mysite.com. Is better for SEO as well I think.

This can be set in IIS.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.