There are three methods of approach for dealing with 404-errors in EPiServer solutions. The following FAQ tries to explain the different approaches you might take when customizing the way your site deals with them.
Topics:
Through settings in the web.config file