Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

IIS Shared Config and Site Bindings

$
0
0

Hello,

I am trying to set up a new Windows 2016 IIS 10 Web farm using Shared Configuration

Each server has a Management IP and a Site IP

In the Shared Configuration applicationhost.config I have a site binding which corresponds to the Site IP of the first Server.

I'd like to use a Environment Variable for this.

I have tried using the solution outlined in the last reply of this thread to no avail, all it does is set %SITE_IP% as the address of the binding.
https://forums.iis.net/t/1123439.aspx?How+to+do+IP+bindings+with+Shared+Configuration

Is there any way to use an environment variable as the input for a site binding? Or am I relegated to adding each possible site binding to the applicationhost.config? Which would add redundant, non-working sites to each server?


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>