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:

[code lang="dos"]cscript.exe adsutil.vbs set /w3svc//SecureBindings ":443:"[/code]

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:

[code lang="dos"]cscript.exe adsutil.vbs get w3svc//securebindings[/code]

To remove the host header from an SSL site use the following command:

[code lang="dos"]cscript.exe adsutil.vbs set /w3svc//SecureBindings ":443:"[/code]

linkedin Host Header On SSL Sitesdigg Host Header On SSL Sitesshare save 120 16 Host Header On SSL Sites

Leave a Reply