I am trying to set SSL Host Headers and Secure Site Bindings in IIS7. I followed the directions on this website http://www.digicert.com/ssl-support/ssl-host-headers-iis-7.htm (among others), but when I run the appcmd command mentioned, I get the error "Object 'SET' is not supported. Run 'appcmd.exe /?' to display supported objects". I have also tryed "appcmd site set" but it still returns the same error. What am I doing wrong?
The server I am working on is Windows 2008 R2 x64, if that matters.
Thank you.
Best Answer
You get the error "Object 'SET' is not supported" because the you are using appcmd site set. i.e. the "site and set" parameters are the wrong way around. The following command should work:
Also, to modify and existing host header you are do:
AppCmd.exe is located in the %systemroot%\system32\inetsrv\ directory. And is available for IIS 7.0 and later.