简体   繁体   中英

Is there a way to configure multiple IP bindings with multiple on prem IIS servers in a deployment group?

I have a deployment group that deploys to two on premise IIS servers: IWeb01 and IWeb02.

I have an azure release pipeline that uses a deployment group for those includes those two servers. However, when I add the IIS Web App Manager task to my pipeline, I don't have a way to specify that IP Address 1.1.1.2 belongs to IWeb01 while 1.1.1.3 belongs to IWeb02.

Is there a way to configure this using the task? Or do I have to resort to using appcmd to configure the bindings appropriately?

To achieve this, you just need to use two IIS web app manage tasks and add these two bindings into them.

Here is my task configuration, you can try with that:

Add two IIS web app manage tasks first, and add the different bindings you want to configure into these different manage tasks. As the pics shown below:

在此处输入图片说明

在此处输入图片说明

After the build and release pipeline finished, you can check your IIS Manager. You will find that it's succeed.

在此处输入图片说明

Hope this is can help you achieve you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM