Start the application named: IIS Manager.
On the IIS Manager application, select your website.
On the right part of the screen, access the option named: HTTP Response Headers.
On the top right part of the screen, click on the Add option.
To add an HTTP header, enter the following configuration:
• NAME - Enter an identification to the new HTTP header.
• VALUE - Enter a value to the new HTTP header.
Click on the OK button.
Optionally, use the command-line to add a custom HTTP header.
In our example, we add an HTTP header on the default website of an IIS server.
To test the installation, open the Chrome browser on a remote computer and enter the IP address of your web server using the HTTP protocol.
In our example, the following URL was entered in the Browser:
Use the page inspection feature of the google chrome browser to verify the Headers from your server.
Optionally, you may use the CURL command of a Linux computer to test the header configuration.
Here is the command output.
Congratulations! You configured an HTTP header on the IIS server.