views:

107

answers:

0

We have taken over a site from another vendor so details on the current setup are few and far between unfortunately.

They had a custom 404 page set in IIS that pointed to a basic html page in the root of the website.

We have since created a 404.aspx page and set IIS to use this instead with /404.aspx as the 404 setting.

The issue however is that any 404 tests we do still get redirected to the old 404.html page in the root and not the page set in IIS that we modified.

Any ideas on why this would be happening? Could it be a caching issue of somesort on IIS? We stopped and restarted the site but still has same issue. Would we need to do a complete IIS restart to pick up the change?

The site has a large number of redirects set within IIS for various paths, etc but we can't seem to find any that would be related to the 404. The only 404 settings appear to be set to our new version. We also checked the web.config and there are no 404 settings there either.

On a clean server this works as expected, but it did not contain all the old setup as the production does.