You can add a custom 404 page by adding a route for the path * as a last route in the routing manager