Remove Server Response Header IIS 8.0 / 8.5

There is another solution and in my opinion this solution is the best and safe.

You can use UrlRewrite module created by the Microsoft. The Url Rewrite module redirects your url and can also change your IIS server name in the response header.

You don’t have to use redirect property. You can use just change the Server header value.

Here are the steps:

  1. First, download UrlRewrite module from this link:
    http://www.iis.net/downloads/microsoft/url-rewrite and install
    it on your IIS server. After that, restart IIS by this command on cmd
    console

    iisreset /restart
    
  2. Add the following item to the your web config file under the <system.WebServer> tag. You can write anything to the Value item as server name.

    enter image description here

  3. Finally we changed the IIS version name on the data’s header. Restart IIS again. via cmd console.

  4. Bonus: If you want to test your website to see if it is working or not… You can use “HttpRequester” mozilla firefox plugin. for this plugin: https://addons.mozilla.org/En-us/firefox/addon/httprequester/

PS: I tested it and it worked for me on the IIS server. Not on the has been created temproray IIS server by the Visual studio.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)