View Complete Thread
  • Re: Remove X-Powered-By using web.config

    May 24, 2019 01:41 AM|Jalpa Panchal|LINK

    Hi kalpesh boghara,

    To remove X-Powered-By header follow below steps:

    Open IIS Server Manager and select the site or server name from which you want to remove the header.

    Select the HTTP Response Headers feature.

    Remove the X-Powered-By header if it exists.

    Clear browser cache and history and try to access the site.

    IIS setting:

    IIS 7.5

    Web.config file:

    Browser result:

    Regards,

    Jalpa

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.