I found a very nice weblog “Guide to 404 Pages with ExpressionEngine”.

This weblog is well written and easy to understand for setting up 404 pages.