WordPress site hosted on IIS - URL redirection needed - HTTPS non WWW to WWW

I have a WordPress site running on IIS.. When people access https://mywebsite.com I get a cert error because the cert wants www ...  So.. I created IIS rewrite rules to redirect so when https://mywebsite.com is accessed it's redirected to https://www.mywebsite.com , howeverm, I got it to work in IE but other browsers don't work..
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CastroCEOCommented:
you need to have 2 sites.

*Wordpress site:
should have the bindings: https://www.mywebsite.com and in the scoped host: and https://mywebsite.com (Using https with a valid certificate).

* Dummy site just for redirection
 You'd need to create an IIS site, look in the features the "HTTP redirection" if you don't see it, it's a feature just install it.
Then do the binding into the HTTP port 80 and set the redirection to the Https//www.mywebsite.com  (you will have 2 checkboxes, 1 must be checked and second not from top to bottom).
gopher_49Author Commented:
Two websites?  Can't I just use URL rewrite rules?  I guess I can go this route..  My CA issued the cert to not include domain.com .. Silly..
Jose Gabriel Ortega CastroCEOCommented:
Well it's the best way to go. You can safely remove the 'domain.com' in my comment. You can use web redirect as well but that can work or not, http redirect will always work.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.