Custom Error Pages
Find out what a Custom Error Page is, what function does it serve and the way to set one.
If a page on your website doesn't load, an error message will be shown to the website visitor. Since there are different errors, there are different pages which will appear, but what's typical for all of them is that they're generic and almost certainly shall have nothing in common with the layout of your website, which can be annoying for any visitor. That is the main reason why hosting service providers have introduced a feature called Custom Error Pages. For a range of different errors, site visitors will see your custom made content, which could be informative or amusing, in accordance with your personal preference, and that will match the style and design of your site, so the pages won't look like they are not part of your site at all. You may use this option for many 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 provided with every cloud web hosting
package that we offer and you'll be able to swap all generic pages with your own with no more than a few clicks in your Hepsia hosting CP. You will need to create the actual files and to upload them to your account, then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You may do this for every site hosted in the account individually, so that each set of personalized pages shall have the same style and design as the site it is part of. If necessary, you may always revert back to a default page from our system or to the default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you could simply copy the necessary code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
If you host your web sites in a semi-dedicated server
account from our company, you'll be able to set personalized error pages for each of them easily via our in-house built Hepsia hosting Control Panel. With just several mouse clicks inside the Hosted Domains section, you could edit the default setting from a system page to a tailor-made one for any of the four error types. All you need to do is provide a link to each and every file you have uploaded before that and then save the change. If required, you'll be able to revert this customization at any time and in exactly the same way. If you wish, you may use an .htaccess file too. It has to be created/uploaded within the domain or subdomain folder linked to the website whose error pages you want to change and the content for this type of file can be found in our Help article for this matter.