Hosting multiple SSL sites with IIS6


A simple tip I came across when hosting multiple sites on a server.

It’s easy to assign a new ip address to the adapter, but creating a new ip address per website is a bit much.

I like to, where possible, use host-headers when hosting a website. Host headers across SSL are now supported by IIS6 (in Windows 2003 RC2).

  1. Start > Run > type “cmd”, press Enter.
  2. Paste… cd c:inetpubadminscripts into the command prompt …and press Enter.
  3. Paste… cscript.exe adsutil.vbs set /w3svc/{siteid}/SecureBindings ":443:{url}" …into the command prompt. You’ll need to replace {siteid} and {url}.

You can find the SiteId in IIS when looking at the list of websites. For example, I have a SiteId of “87257621” and url of “www.robertbeal.local” (this url points at 127.0.0.1 in my windows/system32/drivers/etc/hosts file).

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
POST/GET using TinyGet And Ruby
Chilli Fives

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Be the first to leave a comment!