IIS 8.5 One Site Two Bindings - Only One Host in Log File [cs-host]

2021-07-15T02:55:52.54+00:00

Hi,

We have a site configured on IIS 8.5 - example.com (for instance). This site has two bindings. For example, site.example.com and newsite.example.com. We also have HTTPS redirects on this for both bindings.

The issue is that we're trying to determine the usage of the 'old' site (site.example.com) and the new site (newsite.example.com). Howerver, in the IIS log files, the [cs-host] value only ever shows the newsite.example.com host and never the site.example.com (old site). We know people are still accessing the old site, but it's difficult to compare the numbers as we only ever see the new site in the logs. I've accessed the old site myself and cannot see that in the log files.

Is this something that is known? Does the cs-host only report whatever the most recent binding is?

Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. 2021-07-20T04:54:49.137+00:00

    Never mind; turns out that the DNS entries actually point to different servers, so the new environment is hosted on a different IIS instance anyway. Even though the bindings for both are on the 'old' site nothing for the new site would be hiiting that box.

    Apologies.

    0 comments No comments