If a specific page on a website does not load for some reason or if a link is broken, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your website. A solution in this case is a function made available from some website hosting providers - the ability to set your own customized error pages which shall have identical style and design as your Internet site and which may contain any images or text which you want dependent upon the specific error. There are 4 popular errors which may occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, in case you are supposed to log in to see a page, but you haven't done this yet; 403, if you don't have a permission to view a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In any of these cases, visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Website Hosting

You can set up customized error pages for each of your domains or subdomains. The feature is supported by all website hosting plans that we provide, so once you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you could choose the type of error page which should show up - a default one from our system, a conventional Apache web server page or a custom one. For the latter option, you must specify the URL to the page, so if you use personalized pages, you should upload the files inside your website hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The exact syntax can be located in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated packages which we offer support customized error pages and it shall not take more than several mouse clicks in your Hepsia web hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your Control Panel in which you will have to input the links to the custom-made files through simple drop-down menus and an intuitive interface. Keep in mind, you need to upload them inside your account before that. In case you do not need to use this function at some point, you could disable it just as quickly and choose an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd like to, you may also use an .htaccess file to allow the custom error pages. The file has to contain a specific line of code and a link for each and every error type and you can find an example of the entire content for all four error types in our Help section.