C:\Inetpub\AdminScripts>cscript.exe adsutil.vbs set /w3svc/
Site indentifier - Is the site ID assigned by IIS
Host name - Is the site URL e.g. something.domain.com, www.domain.com
This command is useful if you have a wildcard or unified communications certificate.
Original article is here:
http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html