How to connect to IIS6 SSL website with alias?


On a Win2003, IIS6 server I have 2 websites running, say and These names are listed in the properties of the site (port 80).
Both are only accessable over SSL. To achieve this I followed directions in
I installed a certificate for multiple (3) names. These are:
As stated in mentioned link under "Configuring Server Bindings for SSL Host Headers" I've run the commands
C:\Inetpub\AdminScripts>cscript adsutil.vbs set /w3svc/<siteID>/SecureBindings "" and C:\Inetpub\AdminScripts>cscript adsutil.vbs set /w3svc/<siteID>/SecureBindings "". This achieves that both sites now also are accessable over SSL, port 443 is specified in the properties of the site. This cannot be achieved with the GUI.

So far so good. But now I want site2 to also be accassable as site3. So in the properties of site2 I specified as an additional hostheader for port 80. After this I ran C:\Inetpub\AdminScripts>cscript adsutil.vbs set /w3svc/<siteID>/SecureBindings "".
For the first moments, site2 and site3 are accessable over SSL. After a while, only site3 is accessable.
When I run C:\Inetpub\AdminScripts>cscript adsutil.vbs set /w3svc/<siteID>/SecureBindings "" again, for a short time, both sites are accessable over SSL. After a while, only site 2 is accessable.
It seems that only the latest site I bound stays accessable.

Can anyone point me what I am doing wrong or how I can achieve my goal?
Regards, Rini
Who is Participating?
WadskiIT DirectorCommented:
You can only have one certificate assigned per site instance.  What is happening is bot sites work until the caching expires then only site3 worked.

The quickest and simplest way is to get up a new website within IIS for site 3 and point it the same physical path as site2. Then you can have different certificates working for the different sites.
RBraatAuthor Commented:
I created a new site3 and bould it again.
Great, thank you, this works.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.