Hi @Mehul Donga,
Is there any way to hide IIS version title tag.
Usually we can remove the IIS version with removeServerHeader
in system.webServer/security/requestFiltering
. But the content mentioned in your question is caused by errorMode="Detailed"
.
You can view the basic error pages in Error Pages
, like these:
After the above configuration, the IIS server will generate other information (including the content of the header/title) in Response section of browser devtools.
So if you need to hide this part of the content, you need to use a custom error page (or use errorMode="DetailedLocalOnly").
Best Regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.