Microsoft IIS 10.0 – Configuring Health and Diagnostics

How to create virtual machines with VirtualBox

In this recipe, we will log in to IIS Server and open IIS Manager. We will go through the Features View of IIS Server to configure the worker process features. We will configure the Logging features and discuss the HTTP Response Header features.

Getting ready

For this recipe, we require an up-and-running IIS 10.0 instance. The Health and Diagnostics component should be installed. You should have administrative privileges.

How to do it…

  1. Log in to Windows Server 2016 with an administrator account.
  2. Open Server Manager.



  1. Click on the Tools menu in Server Manager, and you will find IIS Manager. Open IIS Manager and click on the IIS server called WIN2016IIS. Go to the Features View, and select Worker Processes, as shown here:
  1. Go to Actions, and click on Open Feature. This will open the Worker Processes, as shown here:
  1. You’ll see in the figure that we don’t have any application pool in the worker processes because we are not using any application pool right now. If your web server hosts a website application, here you will find the application pool’s server-utilization details. You can manage the application pool load in IIS Server.



  1. Let’s go to Logging. Expand WIN2016IIS, expand Sites, click on, go to Features View, and click on Logging, as shown here:
  1. Open the Logging option. Logging can be configured at the site level or IIS server level. We will configure it at site level. If you want to trace all website logs on IIS Server, you can configure it as a server, as shown here:
  1. You can see Log File | Format in the figure, which we’ve selected to default to W3C . Now you have to click on the Select Fields… button. You will get the W3C Logging Fields, as shown here:
  1. Here in this W3C Logging Fields window, you can select checkboxes as per your requirements to generate the log file. Click on the Cancel button. We’ll use the default.
  2. Click on, go to the Features View, and click on HTTP Response Header, as shown here:
  1. Open the HTTP Response Header; you can see the header information listed here:
  1. If you have more HTTP response headers for your site, you can manage them from here and Set Common Headers…, use Add… for a new header, and use Remove to remove a header.

How it works…

In this recipe, we logged in to IIS Server and opened IIS Manager. We opened the features view of IIS Server to configure the worker-process features. We also configured logging features and discussed the HTTP Response Header features.

Comments are closed.