Disable HTTP Response Header Banner

How to disable HTTP response Header banner?

Disable HTTP headers due to security audit.

For the above to be disable, three rules needs to be created:

  1. Open IIS, go to the site for which you want the Http headers disabled.
  2. Second step, is to open URLrewrite , the go to add variables and start creating rules for the below headers.
  3. Third step, after all the rules are created open cmd or poweshell and run iireset.
  • Server
  • X-Powered-By
  • X-AspNet