Sorry, if question is not clear, but I need "file not found" custom page, not "Page not found". If you type at the end of url .html - it do not will go thru Routes.
I have route which catch all routes:
routes.MapRoute(
            name: "Default",
            url: "{*url}",
            defaults: new { controller = "Home", action = "Index", url = UrlParameter.Optional },
            constraints: new { Domain = new DomainsConstraint() }
        );
But how can I make custom page for file not found? If at the and of url I add for example .html - It will show me 404 file not found