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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RBraatAuthor Commented:
I created a new site3 and bould it again.
Great, thank you, this works.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.