When a page on your site doesn't load, an error message shall be shown to the site visitor. As there are different errors, there are different pages which will appear, but what is typical for all of them is that they are generic and most likely shall have practically nothing that resembles the design of your site, which may be frustrating for any visitor. This is the main reason why web hosting companies have introduced a function named Custom Error Pages. For a range of different errors, visitors will see your unique content, which can be informative or witty, depending on your choice, and which shall match the design of your site, so the pages will not seem like they aren't part of your website at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you get a Linux shared package from our company, you'll be able to set custom made error pages for your sites quickly and easily, as this feature is a part of all our solutions. The moment you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will appear, you will see drop-down options menus for all 4 sorts of errors and for each of them you can pick an Apache default page, a generic page from our system or a custom made page. If you select the 3rd option, you should only type the URL to the file that you have uploaded then save the change. Another way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. In case you don't have preceding experience or if you're just not sure how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting that we offer support custom error pages and it shall not take more than several mouse clicks in your Hepsia hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your CP where you will need to enter the links to the custom-made files via basic drop-down menus and a user-friendly interface. Needless to say, you have to upload them in your account before that. In case you do not need to employ this feature at some point, you will be able to disable it just as easily and choose an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to permit the customized error pages. The file needs to contain a particular line of code and a link for every error type and you can discover an example of the whole content for all four error types in our Help section.