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

Custom Error Pages in Shared Website Hosting

The custom error pages feature is offered with each shared website hosting plan that we offer and you shall be able to replace all of the generic pages with your own with no more than a couple of mouse clicks inside your Hepsia website hosting Control Panel. You shall need to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You may do this for every single Internet site hosted inside the account independently, so that each set of custom pages will have the exact same design and style as the website it's part of. If necessary, you may always revert back to a default page from our system or to the default Apache server page. Another way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you can simply copy the needed program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Hosting

Incorporating your pages for any of the four error types to any web site hosted through a semi-dedicated server account with us will be very simple and shall not take more than several clicks. Once you upload the files to your account, you can go to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could pick what page should appear for every error type. The options are a standard Apache web server page or a page from our system, and tailor-made pages. Should you select the abovementioned option, you need to input the link to every page in your account, then save the change. The link or the kind of page that will be shown when a user encounters an error can be changed at any time. In case you are more experienced, you may use an .htaccess file in order to set customized error pages as well, as an alternative to using our integrated generator tool, and if you select this option, the file has to be positioned in the root directory of a specific domain or subdomain.