404 trap then forward

We are moving a classic asp to aspx site. All pages and directories previously used/bookmarked will result in a 404 on the new shared server. How can I use IIRF to forward all 404 results to my new sitemap page. I've been told this is possible
but can't seem to figure it out. Thanks.