IIS 6.0 SSL Host headers

Friday, May 14, 2010

This short post will demonstrate how to configure multiple sites to use SSL on the same IP using Host Header Bindings. This example is appropriate when you have a wildcard SSL or a unified communications certificate and you want to run multiple websites over port 443.

 These commands will need to be run on the web server.  Just open a command prompt and navigate to the folder containing adsutil.vbs (usually c:\inetpub\adminscripts).

cscript.exe adsutil.vbs set /w3svc/[site identifier]/SecureBindings ":443:[host header]"

Just run this command for each site that needs to run over SSL and you are done.

Tags:
Comments are closed