404 on windows server ?

Discussion in 'Site & Server Administration' started by dojever, Mar 7, 2009.

  1. #1
    i have site build on windows server and aspx pages calling from database ..

    how can i redirect to 404 page ?
     
    dojever, Mar 7, 2009 IP
  2. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #2
    You can set CustomError to On in web.config and give the name of the aspx file to redirect to when server gets 404 error.
     
    MayurGondaliya, Mar 9, 2009 IP