If a page on your website does not load, an error message shall be shown to the site visitor. Because there are different errors, there are different pages which will display, but what's common for all of them is that they're generic and most likely will have nothing that resembles the design of your site, which may be irritating for any visitor. This is the primary reason why hosting service providers have introduced a feature named Custom Error Pages. For a range of different errors, website visitors will see your custom content, which can be informative or amusing, based on your personal preference, and which shall match the overall design and style of your Internet site, so the pages won't appear as if they are not part of your Internet site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Website Hosting
The custom made error pages function is available with each shared website hosting package we offer and you'll be able to replace all the generic pages with your own with no more than a few clicks in your Hepsia hosting Control Panel. You'll need to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can do this for every single website hosted in the account individually, so that each set of personalized pages shall have the exact same style and design as the site it's part of. When necessary, you could always return back to a default page from our system or to a default Apache server page. A different way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you could simply copy the needed code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Servers
All Linux semi-dedicated hosting plans which we offer support customized error pages and it shall not take more than a few mouse clicks from your Hepsia website hosting Control Panel to use this function. The option can be found in the Hosted Domains section of your CP where you'll have to enter the links to the custom-made files via basic drop-down menus and an easy to use interface. Needless to say, you should upload them to your account before that. In case you do not need to employ this feature at some point, you can easily disable it just as fast and select an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you prefer, you may also use an .htaccess file to enable the custom error pages. The file needs to have a particular line of code as well as a link for every single error type and you may discover an example of the whole content for all four error types in our Help section.