Remove all HTTP bindings from an IIS 6 site while leaving SSL bindings

Posted by MikeBaz on Server Fault See other posts from Server Fault or by MikeBaz
Published on 2010-07-08T20:35:33Z Indexed on 2013/11/12 9:59 UTC
Read the original article Hit count: 368

We have a (remote, via a reseller) customer who configured their IIS6 server to not have any port 80 HTTP bindings, only port 443 SSL bindings. We would like to reproduce this without going through the three layers (!) to get to the customer to test some error scenerios.

However, whenever I try to get IIS to not listen on IIS at all, I can't do it. If I do it in the UI, either leaving in the main properties page, or in the advanced bindings page, the UI does not let me proceed. If I remove the HTTP ServerBindings from the metabase.xml directly, IIS makes it port 80, all unassigned addresses anyway.

Is there a way to get to the "SSL only" state naturally? Please note I am NOT talking about the "require SSL" checkbox or underlying metabase setting, as that still listens on port 80 (or whatever) to give the "SSL required" error message. I'm talking about not having any bindings listed at all for HTTP.

© Server Fault or respective owner

Related posts about windows-server-2003

Related posts about iis