1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Getting Custom Error Docs to Work

Discussion in 'Plesk 9.x for Windows Suggestions and Feedback' started by Mike Legg, Jul 5, 2011.

  1. Mike Legg

    Mike Legg Basic Pleskian

    18
    85%
    Joined:
    Dec 19, 2010
    Messages:
    91
    Likes Received:
    0
    Is there a trick to getting Custom error documents to work?

    I want visitors to be redirected to my homepage if they try to access a missing file.

    I've enabled custom error documents, added /index.html as the custom 404 error file and I've restarted IIS.
    I've even paded out the index.html with comments to make it larger (3k)

    But when I type a non-existent url in my browser I still get the standard IIS error page.

    I've run out of ideas.
     
  2. JTRipper

    JTRipper Regular Pleskian

    27
     
    Joined:
    Mar 22, 2006
    Messages:
    106
    Likes Received:
    3
    Location:
    Italy
    same problem here
     
  3. stormstech

    stormstech New Pleskian

    13
    30%
    Joined:
    May 21, 2011
    Messages:
    10
    Likes Received:
    0
    Hello Mike,

    If its a IIS7 server then make sure you have enabled Custom Error Document in Plesk as well as in IIS under "Error Pages" other wise your custom error page will not load.


    Regards,
    StormInternet
    Professional UK Web Hosting
     
  4. stormstech

    stormstech New Pleskian

    13
    30%
    Joined:
    May 21, 2011
    Messages:
    10
    Likes Received:
    0
    Hello Mike,

    Following are steps to disable detail errors in IIS7 :

    On your server open IIS > click on web site at left pane > at right pane it will show all features > click on Error Pages > now at right most column, under Actions section click on "Edit Feature Settings..." > a pop up window will open > on this window you will find three options :
    1. Custom error pages
    2. Details errors
    3. Details errors for local requests and custom error pages for remote requests

    select first option "Custom error pages" and click Ok


    Regards,
    StormInternet
    Professional UK Web Hosting
     
Loading...