Replace "Default  Web Site" with the IIS name of the website and change services.mysite.com with the host header you want to secure.

Use the following command:


appcmd set site /site.name:"Default Web Site" /+bindings.[protocol='https',bindingInformation='*:443:services.mysite.com'] 

Article ID: 110, Created On: 1/20/2015, Modified: 1/20/2015

Feedback (0)