Each time a page on your website doesn't load, an error message shall be shown to the website visitor. As there are different errors, there are different pages that will display, but what's common for all of them is that they're generic and almost certainly will have absolutely nothing in common with the layout of your site, which can be annoying for any site visitor. This is the primary reason why hosting companies have introduced a feature named Custom Error Pages. For a number of different errors, visitors shall see your custom content, which may be informative or witty, based on your choice, and that will match the design and style of your Internet site, so the pages will not appear as if they are not part of your website at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

When you get a shared website hosting plan from us, you will be able to set custom error pages for your websites easily and quickly, since this function is a part of all of our solutions. Once you've created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you'll see drop-down options menus for all four types of errors and for each of them you could choose an Apache default page, a generic page from our system or a customized page. In case you select the 3rd option, you should only input the URL to the file which you have uploaded then save the change. A different way to set customized error pages is to set up an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. If you don't have preceding experience or if you are just uncertain how to do this, you may just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All of the semi-dedicated plans which we supply support custom error pages and it shall not take more than several mouse clicks in your Hepsia web hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your CP in which you will need to input the links to the custom-made files via basic drop-down menus and a time and effort saving interface. Keep in mind, you must upload them inside your account before that. If you do not want to employ this feature at some point, you can easily disable it just as easily and pick an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd like to, you can also use an .htaccess file to permit the custom error pages. The file has to include a specific line of code as well as a link for every error type and you can find an example of the entire content for all four error types in our Help section.