IIS 404 Question

Posted on 2011-05-11
Medium Priority
Last Modified: 2012-05-11
I have a question about IIS Server Settings. I got on McAffee Siteadvisor following message:

"!It appears that the Web site dvd-ranger.com (or www.dvd-ranger.com) is returning an HTTP 2xx or 3xx status response code in the header of 404 pages."

I do not know what settings they refer to, because everything is working well on ther server. Any idea where this setting is?

Question by:Ocrana
  • 2
LVL 17

Expert Comment

ID: 35740767
It just mean that your 404 pages do not give a 404 response back


which has a custom 404 page that that return everything all ok 200 status.

There is nothing wrong with this however normally you would want to have 404 status code returned even for the simple reason as you can easily log all your 404 pages.
Best practice would be to give a 404 http status with the error page. Have a word with your devs.

Author Comment

ID: 35740945
But I do. I just added the custom 404 page to the IIS erropages. I did not changed anything else. I think there have to be another setting. I checked the web.config and the IIS settings. Everything is ok. BUt McAffee said not. Amazing.
LVL 17

Accepted Solution

Rovastar earned 2000 total points
ID: 35743032
Ignore mcaffe you page are return 200s  as I checked.

However the IIS error pages can be very different to other technology pages (asp.net,php , etc) Use failed request tracing to make sure the pages return the correct http status codes as you desire. IIS pages (the 404 custom errors) are different to what the technologies (asp.net,etc) will return as it goes to them first.

Like I said don't worry too much about it. Check in your IIS logs to see what status codes you are returning.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question