Host Header On SSL Sites
This is an update to our previous post (Enable Host Headers On An SSL/HTTPS Site). Which used the following command to enable host headers on SSL sites:
cscript.exe adsutil.vbs set /w3svc/<site-identifier>/SecureBindings ":443:<host header>"
I ran into some issues with using SecureBindings with the Sharepoint Central Administration sites so I thought I would post some of the other commands that I used:
To find out what bindings are on a site use the following command:
cscript.exe adsutil.vbs get w3svc/<site-identifier>/securebindings
To remove the host header from an SSL site use the following command:
cscript.exe adsutil.vbs set /w3svc/<site-identifier>/SecureBindings ":443:"
June 24, 2010 | Posted by Stewart Schatz
Categories:
Tags: |