I want all URLs of missing pages to forward to my 404 page which is in my root as 404error.aspx
So far only the UR
You need to configure the
element. This configures the error pages for both static files and server pages.
Your 3rd attempt "web.config (3)" and "Edit 1" are almost there. The problem is that you can't use app-relative paths here (ex: "~/404.html"), they have to be relative from the site root (ex: "/404.html").