The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Making 404 Error Pages etc... Don't want to break anything :(

Discussion in 'General Discussion' started by seastar, Feb 14, 2004.

  1. seastar

    seastar Registered

    Joined:
    Feb 14, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi, new to CPanel - just working round it over this last weekend... Really would like to make some 'custom' error pages with our co. logo on them, but bit timid to try.. thought I'd ask first...
    Basically, when I open the error page in CPanel, shows I can add various commands. Rather like writing on this message 'pad'... do I simply cut/paste a logo onto the page or is it more involved than that...

    Sorry if this sounds dumb - really dont want to mess things up ... (I'm a CHICKEN really :()
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    If you are familar with HTML or can use frontpage/etc you can just paste HTML there :)
     
  3. seastar

    seastar Registered

    Joined:
    Feb 14, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi Nick - thanks for your response...

    Yes, I know/use frontpage to make the websites initially - so if I (for example) make a new page in frontpage looking all pretty and laid out...then simply past into the cpanel error page - it will work? what about the images, don't they have to be uploaded or anything??
    Appreciate your help ... as I said, bit of a chicken....
     
  4. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    Yes you will need to upload them, just as you would do a normal site :)
     
  5. seastar

    seastar Registered

    Joined:
    Feb 14, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    ok - dumb eh? .... dur......

    So, once i've made in frontpage - should I save them as "error 404.htm" in say - private? (coz I dont want them on the navigation...do i? ) Then once they've been published, just copy/paste the html code for the whole page into the cpanel area?
     
  6. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    That's correct....but don't put a space in the URL, name it :

    error404.html
     
  7. seastar

    seastar Registered

    Joined:
    Feb 14, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    EXCELLENT !!! IT WORKS........

    THANKS A BUNCH...

    :D :D :D :D :D :D :D
     
  8. MD95110

    MD95110 Registered

    Joined:
    Feb 17, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    That was so easy! :) Just create the file, copy the html and save. Woohoo! :p
     
  9. adixon

    adixon Member

    Joined:
    Feb 16, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Ive put html in all the error pages, and when i goto a page which 404's it returns this;

    Not Found
    The requested URL /~testnet/b was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    there is a .htaccess file in the directory, but its blank, is the server having issues or just not writing to the htaccess for a reason? As I assume this is how the server handles the custom error pages.

    WHM 10.0.0 cPanel 10.0.0-C145
     
Loading...

Share This Page