How to install a single SSL certificate for www and non-www

I have purchased an SSL certificate and I should be able to configure IIS 7 to use that certificate for both https://domainname and https://www.domainname

I have looked online but didn't find a solution so far. Is this possible to do? According to the company that issues SSL, a single SSL can be used in both cases.

Thank you


If you have purchase a standard, single domain SSL certificate, then it will be for one domain, so you can only use it for domainname.com or www.domainname.com.

If you have purchased a wildcard or UCC certificate then it will allow either unlimited subdomains (in the case of a wildcard) or mulitple domains up to a certain number (in the case of UCC).


It depends on how you have IIS configured. If you are certain the cert has both example.com and www.example.com in the SN and/or SAN then it will work for both, simple configure it in the bindings for the site(s). If you don't know how to configure the cert in the bindings section of IIS, then that's a wholely different problem.