When a page on your website doesn't load, an error message shall be shown to the website visitor. Since there are different errors, there are different pages that'll show up, but what's standard for all of them is that they're generic and probably will have absolutely nothing in common with the design of your website, which can be irritating for any site visitor. This is the primary reason why website hosting companies have introduced a feature called Custom Error Pages. For a wide variety of different errors, site visitors shall see your custom made content, which can be informative or humorous, based on your preference, and which shall match the overall design and style of your site, so the pages shall not look like they aren't part of your site at all. You may 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

When you buy a Linux shared hosting package from our company, you'll be able to set custom made error pages for your websites quickly and easily, as this feature is a part of all our packages. Once you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will show up, you shall see drop-down menus for all 4 kinds of errors and for each of them you may pick an Apache default page, a generic page from our system or a personalized page. Should you choose the third option, you should just input the URL to the file that you've uploaded then save the change. One other way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of program code in it. In case you don't have preceding experience or if you're just unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated packages that we supply support tailor-made error pages and it will not take more than a couple of mouse clicks in your Hepsia web hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your Control Panel in which you'll have to input the links to the custom-made files using simple drop-down menus and an easy to work with interface. Keep in mind, you must upload them to your account before that. In case you do not want to employ this feature at some point, you could deactivate it just as easily and select an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd like to, you could also use an .htaccess file to permit the customized error pages. The file has to contain a specific line of code and a link for each error type and you can easily find an example of the whole content for all four error types in our Help section.