Custom Error Pages
Learn what a Custom Error Page is, what role does it serve and how to set up one.
Each time a page on your website does not load, an error message will be displayed to the visitor. Since there are different errors, there are different pages that will show up, but what is typical for all of them is that they are generic and most likely shall have absolutely nothing that resembles the design of your Internet site, which may be aggravating for any website visitor. This is the reason why web hosting service providers have introduced a function known as Custom Error Pages. For a variety of different errors, website visitors will see your customized content, which could be informative or amusing, based on your choice, and which will match the overall design of your Internet site, so the pages shall not look like they aren't part of your site at all. You could use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Web Hosting
The customized error pages function is available with every cloud web hosting
plan we offer and you'll be able to substitute all generic pages with your own with no more than just a few clicks inside your Hepsia website hosting Control Panel. You shall need to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every website hosted inside the account individually, so that every group of personalized pages will have the same design as the Internet site it's part of. When necessary, you can always go back to a default page from our system or to a default Apache server page. One other way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you never done this before, you could simply copy the necessary code from our Help article about this.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting
that we provide support custom error pages and it will not take more than a few mouse clicks from your Hepsia website hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your CP in which you'll need to input the links to the custom-made files via basic drop-down menus and a time and effort saving interface. Of course, you have to upload them in your account before that. If you do not want to employ this function at some point, you can easily deactivate it just as fast and select an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd like to, you could also use an .htaccess file to allow the custom error pages. The file has to have a particular line of code and a link for each error type and you may discover an example of the whole content for all four error types in our Help section.