Bizhostnet.com
 

Support Knowledge Base >> Web Hosting >> Web Hosting Control Panel Guide

Search |

Customized Error Pages for your website

When a user attempts to connect to a Web site and an HTTP error occurs, a generic message is sent back to the client browser with a brief description of what happened during the attempt to establish a connection. For example, if a user attempts to connect to a page that no longer exists on the Web site, an HTTP error will be returned in the form of an HTML page that contains the statement The requested URL was not found on this server.

You can use the Custom Error Pages view to customize HTTP errors that are sent to clients when Web server errors occur. Following is a list of HTTP errors you can customise:

401 - Authorization Failed
The request requires user authentication, typically a Username/Password credential pair. If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials.

403 - Permission Denied/Forbidden
You tried to access a URL for which you don't have permission.

404 - File / Resource Not Found
Your browser cannot locate the document corresponding to the URL you entered. An improperly typed URL is usually the cause.

406 - Resource Not Acceptable
It’s possible you have requested a page that contains files which your browser has indicated to the server that it cannot accept, e.g. a multimedia file that your browser cannot process. Your browser sends information about what files it can accept to the server (in the HTTP header) as part of a request. You might check the preferences settings of your browser to see if there are file types it is not accepting.

500 - Internal Error
The server encountered an unexpected condition which prevented it from fulfilling the request.


To customize the error messages, follow the procedure below:

1. Create your custom Error message and upload it to your website.

2. Login to your Control Panel and search for the domain name for which you have purchased this hosting package. Click here to read how >>

3. In the search results view, click on the domain name. This will take you to the order details view.

4. Click on Manage Web Hosting Service in the lower toolbar.

5. In the Website Management interface pop-up that follows,

go to Manage Website -> Custom Error Pages, if you have a Windows web hosting package

or

go to Manage Website -> Web Server Manager -> Custom Error Pages, if you have a Linux web hosting package

6. For the HTTP error that you wish to customize, you can

  • select the radio button adjacent to Local URL, and enter the path to the file that you have uploaded, or
     
  • select the radio button adjacent to Text/HTML Message, and fill in a suitable text/html message.

If for some reason you wish to disable custom error message for a particular error, select the radio button adjacent to Set To Default for that error.

7. Click on Submit to save the settings.

IMPORTANT

In order to complete the action in case of Linux Hosting, the Web Server needs to be restarted. Random restarts affect other services running on the Server. In order to avoid this, the Server has been scheduled to restart at intervals of 20 minutes. Hence, the changes might take upto 20 minutes to be effective.

 

Created on:  
Jan 4, 2006 8:28 AM  GMT
Last Updated on:   Sep 9, 2008 11:23 AM  GMT
 
Answer Directory and File Structure 
Answer Where do I put the content of my Website? 
Category Uploading content to your Website using FTP 
Answer How do I set the home or default page for my website? 
Answer Does it matter what I name my files? 
Answer How can I view my website in a browser if my domain is pointing elsewhere? 
Answer Why aren't my website changes being saved? 
Answer What is Cache? 
Answer FrontPage Server Extensions (FPSE) 
Category Data Transfer 
Category SSL 
Category Backup your Website 
Category Domain Aliases 
Category Web Statistics 
Answer Logs and Log Rotation 
Answer Can I serve WAP Files? 
Category Controlling Access to your Website 
Answer Customized Error Pages for your website 
Category Windows Hosting Specific Features 
Category Linux Hosting Specific Features 
Category Troubleshooting