If you are having issue with the custom error page display check to make sure the following exists.
<system.webServer>
<httpErrors existingResponse="PassThrough" />
</system.webServer>
If you are having issue with the custom error page display check to make sure the following exists.
<system.webServer>
<httpErrors existingResponse="PassThrough" />
</system.webServer>