Reputation: 25
In IIS if i want to remove a binding information, we can go to IIS then right click the required site and click edit bindings. Then select the required row from edit site binding popup and click remove button. The same thing i need a command to perform the same operation
Upvotes: 1
Views: 2340
Reputation: 3504
You could use this command to remove binding from IIS.
appcmd.exe set config -section:system.applicationHost/sites /-"[name='Mysite'].bindings.[protocol='http',bindingInformation='*:80:example.se']" /commit:apphost
Upvotes: 2