This Article Includes: Using Custom Error Pages.After Logged in Click on the “Error Pages” Icon Located Under the “Advanced” HeadingError pages inform visitors whenever there is a problem accessing your site. Each problem has its own code (such as 404, 500, etc.) and a corresponding error page.Basic error pages are automatically provided by the webserver. However, cPanel allows you to define custom error pages for any HTTP code. (See Codes Below).To edit an error page:1. Click the error code for the page you wish to edit.* If you don’t see the error code for the page you wish to edit, click the Show All HTTP Error Status Codes tab.2. Type a message into the text box.* You can select certain HTML tags to be added to a custom error page. These tags will display facts on the error page about the visitor accessing your website.* You can further customize your error pages by keying in HTML code.3. Click Save.
HTTP Error CodesHTTP codes describe the status of a URL when a visitor tries to access it, and include error messages that result when visitors encounter problems on a website. The codes are three-digit numbers.There are 5 classes of HTTP codes, divided into categories by the first digit.* A first digit of 1, 2, or 3 represents a fully functional request. More information about these codes can be found in this article.* A first digit of 4 represents a client-side error. The most common codes span 400 to 404.* A first digit of 5 represents a server-side error. Common codes span 500 to 510.4xx ErrorsAlthough these errors are technically the result of a problem with the client’s (ie, the browser’s) request, oftentimes they point to a problem on a website. For example, if you have a faulty link on your home page, and visitors click it, they may see a 404 error.400 Bad RequestThe user’s request contains incorrect syntax.401 UnauthorizedThe requested file requires authentication (a username and password).403 ForbiddenThe server will not allow the visitor to access the requested file.404 Not FoundThe server could not find the file that the visitor requested.5xx ErrorsThese errors are caused by the server being unable to fulfill an apparently valid request from a visitor.500 Internal Server ErrorThis error signifies that the server has encountered an unexpected condition.501 Not ImplementedThis signifies that the HTTP method sent by the client is not supported by the server.502 Bad GatewayThis error is usually due to improperly configured proxy servers. However, the problem may also arise when there is poor IP communication amongst back-end computers, when the clientâ€™s ISP is overloaded, or when a firewall is functioning improperly.503 Service UnavailableThis error occurs when the server is unable to handle requests due to a temporary overload or due to the server being temporarily closed for maintenance.504 Gateway TimeoutThis occurs when a server somewhere along the chain does not receive a timely response from a server further up the chain.505 HTTP Version Not SupportedThis error occurs when the server refuses to support the HTTP protocol that has been specified by the client computer.506 Variant Also NegotiatesThis error indicates that the server is not properly configured.507 Insufficient StorageThis code indicates that the server is out of free memory. It is most likely to occur when an application being requested cannot allocate the necessary system resources for it to run.509 Bandwidth Limit ExceededThis error occurs when the bandwidth limit imposed by the system administrator has been reached.510 Not ExtendedThis error occurs when an extension attached to the HTTP request is not supported by the web server.
Copyright NivaCity © 2021. All Rights Reserved.