Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

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
0
introlux
Asked:
introlux
1 Solution
 
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
 
introluxAuthor Commented:
Just like I thought, thanks
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now