title: Hot to show custom page not found page in asp.net?
body: <p>My URL is like <a href="http://app.test.com/asp/default.aspx" rel="nofollow">http://app.test.com/asp/default.aspx</a></p>
  
  <p>When user mis types URL like <a href="http://app.test.com/asp/defaul123t.aspx" rel="nofollow">http://app.test.com/asp/defaul123t.aspx</a> and hits i am redirecting to custom error page pagenotfound.html.
  For this i made changes in </p>
  
  <blockquote>
    <p>INETMGR-->Websites-->Defaultwebsite-->Mywebsite-->Properties-->CustomErrors--> For HTTP Error 400  </p>
  </blockquote>
  
  <p>I set the file path for <code>pagenotfound.html</code></p>
  
  <p>But my problem is when user mistypes URL like <a href="http://app.test.com/asp/www.google.com" rel="nofollow">http://app.test.com/asp/www.google.com</a> 
  I am not getting redirected to custom page not found page <code>pagenotfound.html</code></p>
  
  <p>instead it is showing internet explorer http404 page </p>
  
  <blockquote>
    <p>The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. </p>
  </blockquote>
  
  <p>Please help me in resolving the same.</p>