If a page on your site does not load, an error message shall be shown to the visitor. Because there are different errors, there are different pages that'll appear, but what is standard for all of them is that they are generic and most likely will have practically nothing that resembles the layout of your site, which may be frustrating for any website visitor. This is the main reason why web hosting companies have introduced a function referred to as Custom Error Pages. For a number of different errors, visitors shall see your unique content, which can be informative or humorous, based on your taste, and that will match the overall style and design of your Internet site, so the pages shall not look like they aren't 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

If you buy a shared website hosting plan from our company, you will be able to set personalized error pages for your sites easily, since this function is a part of all our packages. The moment you've created the files and uploaded them to your 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. In the pop-up that will show up, you'll see drop-down options menus for all 4 kinds of errors and for each of them you could select an Apache default page, a generic page from our system or a tailor-made page. Should you select the 3rd option, you should only input the URL to the file that you've uploaded then save the change. A different way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you don't have preceding experience or if you are just unsure how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All semi-dedicated hosting plans that we supply support custom made error pages and it shall not take more than a couple of mouse clicks in your Hepsia website hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your Control Panel where you will have to type in the links to the custom-made files via basic drop-down menus and an easy to work with interface. Needless to say, you have to upload them inside your account before that. In case you do not need to use this feature at some point, you can deactivate it just as quickly and pick an Apache server page or a default page from our system to be viewable whenever your visitors encounter an error. If you'd like to, you can also use an .htaccess file to enable the custom error pages. The file has to have a specific line of code plus 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.