Can anyone please suggest from where this error page gets displayed and why?
The default 404 error page configured to be displayed is -
But when we navigate to the url - http://{servername}.com/, it displays the former 404 Not Found Error page.
1 Answer 1
This error should be caused by misconfigured DNS settings. You may have pointed the domain to an incorrect nameserver or a wrong IP address through an A record. Therefore, you need to check if the domain is pointed correctly to solve this issue.
You should configure the hosts file as below:
xxx.xxx.xxx.xxx servername
answered Jun 10, 2024 at 3:37
Sign up to request clarification or add additional context in comments.
applicationHost.config
,machine.config
,web.config
(for the website) or a separateweb.config
for a subdirectory or another application-scope. You might have configured IIS to override application-defined 404 responses - or done the opposite and always prefer application-defined 404 responses. The problem might not even lie in IIS: it could be something askew in theHTTP.sys
kernel-mode component. Etc. Etc.HTTP.sys
. You can't have a custom 404 page unless IIS and its websites are running in the first place.