If a certain page on a website doesn't load for some reason or in case a link is broken, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave your Internet site. A potential solution in cases like this is a function offered by some website hosting service providers - the ability to set up your own custom error pages that will have exactly the same style and design as your Internet site and which can contain any images or text that you'd like depending on the specific error. There are four well-known errors which could occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you haven't done this yet; 403, if you do not have a permission to view a specific page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In any of these cases, website visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

You can set up custom error pages for each of your Internet sites easily if you use any of our Linux shared web hosting. This could be done via the Hosted Domains section of the Hepsia CP, which comes with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You must upload the files to your account in advance and enter the links to them through the process. This function could be de-activated at any time and the options you will be able to select from are a generic page from our system or a default Apache server page. Customized error pages could be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it must include some system code and links to the pages. If you aren't tech-savvy, you could copy the entire content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting support custom made error pages, so you shall be able to employ this feature for every single domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the particular domain/subdomain and to type in the link to the custom file. You'll be able to do this separately for each error type. You'll be able to switch back to a generic error page at any time if needed and the change will take effect immediately. An alternative way to get the very same result is to place an .htaccess file inside the domain or subdomain folder related to the Internet site that you want to change and to type in a couple of lines of program code inside it. If you would like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, so you'll not need any programming skills or prior experience.