Hosting two SSL sites (different host name) on same server with different certificates and without ports (i.e. 443)
-
30-01-2021 - |
Pergunta
We have a SharePoint site https://example.com hosted on port 443.
There is another site https://anotherexample.com that should be hosted on same server and without port (i.e. 443).
Both the certificates are issued to different host names (i.e. not wildcard certificate).
How can I achieve above scenario?
Any help is much appreciated!
Edit: I'm working on IIS 8. Is there a need to allocate second IP address to the server or there is a fix through SNI (How can we achieve this scenario using SNI)?
Solução
IIS6 does not have the capability of using SNI. You need to allocate a second IP address to the server and bind your IIS sites to specific IP:Port combinations.
Outras dicas
You have two choices in this scenario
- Get the dedicated IP address for the 2nd site and Bind it to IIS along with Certficate
- You can use different port then 443 and Bind the certificate on it. then URL will be https://anotherexample.com:7513 (any custom port you pick)
1st method we implemented and working flawlessly.