Tuesday, July 28, 2015

iis 7 - Wildcard SSL on IIS7 - Does each site need it's own IP?




If I buy a Wildcard SSL Certificate for one domain, like: domain.com
and I have 40 sites, like apples.domain.com and pears.domain.com



All the sites are on the same IIS 7 server



Does each site need a unique IP address?



If yes, is there anyway around it?


Answer




No, they do not need to be on unique IP addresses.



Navigate to C:\Windows\System32\Inetsrv\ In the Inetsrv folder, run the following command for each of the other websites on the IP address that need to use the certificate:



appcmd set site /site.name:"{IISSiteName}" /+bindings.[protocol='https',bindingInformation='*:443:{hostHeaderValue}']



Replace {IISSiteName} with the name of the IIS site and {hostHeaderValue} with the host header for that site e.g. site.mydomain.com


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...