URL Rewrite IIS 7.5 - HTTPS non WWW to HTTPS www

Hi Experts,

I have looked online but was unable to find anything about https to another address. For instance we only have one SSL for www.mydomain.com. We are wanting all traffic coming in via https://mydomain.com to be sent to https://www.mydomain.com

Is this possible? At the moment users are being prompted with a certificate issue saying its not secure because the URL should www.mydomain.com naturally.

I think the answer is you cannot do anything apart from buying an additional SSL name but wanted to confirm.

Thanks,

introlux
introluxAsked:
Who is Participating?
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.

Simon Butler (Sembee)ConsultantCommented:
You need an SSL certificate that covers both the root of the domain and the www variant.
A lot of SSL providers will do that for you free of charge. I know GoDaddy do. Buy a certificate with the common name of example.com and you will get www.example.com included. (I cannot recall if it is the other way or not - I stopped using the www part for all of my domains years ago).

Without another certificate it isn't possible because the SSL session needs to be established before you can do anything with the rules to redirect the traffic. That means both variants of the domain need to be covered.

Simon.
0

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
introluxAuthor Commented:
Just like I thought, thanks
0
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
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.