I have two sites in a Windows Server 2012 R2 running IIS8, let’s say mydomain1.com and mydomain2.com, both sites connect to the same DB. For this configuration to work, I have to use the same Site Binding configuration for port 80 in both sites, except for the hostname value (mydomain1.com and mydomain2.com).
The sites have been running smoothly, but now I have to add SSL. As suggested in another post, I have created two single binding certificates using Let’s Encrypt (win-acme v2), let’s say Certificate1 for mydomain1.com and Certificate2 for mydomain2.com. The problem is that, when I finish to setup Certificate2, the Site1 tries to use the Certificate2. So, I go the Edit Site Binding window for Site1 and select the Certificate1, I got this warning…
If I press Yes, the Site2 stops working because it tries to use the Certificate1, and if I press No, I can’t continue. Am I doing something wrong? Maybe there’s a better way to achieve this?
For security and privacy reasons, I can’t share the full values of the private IP address of the server and the host name, so I will hide it partially in the screenshots.
Your domain is worldwide visible. Hiding such informations has nothing to do with protecting your site. But it makes it harder or impossible to find solutions.
Going into detail, is this the best way to approach this problem? Or maybe, since both sites are related, creating one certificate for multiple sites is better?
I imagined that, but thanks for the reading. It was more a privacy concern because the sites aren't fully launched yet and my client is very strict about confidentiality.