More in this section

Forums / Developing with Sitefinity / HTTP Error 404.0 - Not Found -IIS8

HTTP Error 404.0 - Not Found -IIS8

2 posts, 0 answered
  1. Ajay
    Ajay avatar
    46 posts
    14 Nov 2013
    05 Mar 2014
    Link to this post


    Custom404 Redirecting is Successfully Redirecting in local system, But its not Working in Server(windows server 2012, IIS8),

    Here is my code:

    <customErrors mode="On" defaultRedirect="~/not-found">
    <error statusCode="404" redirect="~/custom404" />
    <error redirect="~/not-found" statusCode="403"/>

    Please help me how to Solve this,Here I'm Attaching Error Screen Shot,

    Thanks & Advance


  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    26 Mar 2015
    07 Mar 2014
    Link to this post
    Hi Ajay,

    We are aware of this behavior, but it has to do with IIS 8 and .net, not our system. In order to avoid the non-functioning redirect I can suggest excluding the custom errors from the web.config and doing a 404 and 403 redirect in your global.asax file. There are abundant resources online on how to achieve this.

    Ivan D. Dimitrov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered