Contact Us

Pro Tip: Bulk Update IIS Bindings

David Ruckman, Senior Consultant

Have you ever worked on a multi-site Sitecore instance where you had to laboriously hand-enter 100 new bindings into IIS on 10 different servers? Well, I have and it's not fun - it can take all day and I'd rather be coding.

So I have a time-saving tip for you. The trick is to bypass the UI in IIS Manager and directly edit the Application Host configuration file. From IIS version 7.0 on, the IIS settings are exposed in an xml-formatted config file that you can edit to your heart's content.

Say, for example, you needed to add a whole slew of new bindings into IIS:

www.contoso.com:80
www.contoso.ar:80
www.contoso.it:80
www.contoso.com:443
www.contoso.ar:443
www.contoso.it:443

...and dozens more.

Here's how I would do it, the time-saving way.

You can read the full article by clicking here.

Recent Posts

See All