Then in IIS, select the site, right click and select properties.
There should be a tab at the top that says "Custom Errors"
Scroll down and select the 404 error and hit the "edit properties" button.
Change the message type to URL and then type in the absolute path to your error page(/error.html or /errors/error.html).
Hit the "OK" button then hit the "APPLY" button.