How to fix – HTTP Headers – Always return 200 code
I found an article that explains in further detail how to make the "404 Not Found" show-up even when using a custom error page. You need to add <% response.status = "404 Not Found" %> to your custom 404 webpage and the appropriate status code is returned.
'Here is a link to the article
'Status codes KB article.