IIS 7.5 – Revert custom error pages to inherited ones

by luca
0 comment

On IIS you can define custom error pages for the different HTTP error codes (for example the code 404 stands for “page not found”). Today I needed to revert the custom error pages to the default ones for a subsite:

iis-cust1

You can remove the custom configuration forcing the inheritance. Open the Configuration Editor:

iis-cust2

Choose system.webServer/httpErrors as Section, right-click on defaultPath and select Section -> Revert To Parent:

iis-cust3

Related Posts

Leave a Comment

17 + 12 =