Whenever a page on your site doesn't load, an error message shall be shown to the visitor. Because there are different errors, there are different pages which will show up, but what is typical for all of them is that they are generic and probably shall have absolutely nothing that resembles the layout of your site, which can be irritating for any site visitor. This is the reason why website hosting providers have introduced a function called Custom Error Pages. For a range of different errors, site visitors will see your custom content, which may be informative or witty, based on your taste, and that will match the overall layout of your website, so the pages won't seem like they're not part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Hosting

When you get a Linux hosting package from our company, you shall be able to set custom made error pages for your sites easily and quickly, since this feature is part of all of our solutions. 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 CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will appear, you will see drop-down menus for all four sorts of errors and for each of them you may pick an Apache default page, a generic page from our system or a customized page. If you select the 3rd option, you should simply type the URL to the file that you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. In case you don't have preceding experience or if you are simply not sure how to do this, you can simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated hosting which we offer support custom made error pages and it shall not take more than a few clicks inside your Hepsia hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your Control Panel where you'll have to type in the links to the custom-made files using basic drop-down menus and an easy to use interface. Of course, you must upload them in your account before that. In case you don't need to use this function at some point, you can deactivate it just as fast and choose an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you prefer, you can also use an .htaccess file to activate the personalized error pages. The file needs to include a particular line of code and a link for each error type and you can find an example of the entire content for all four error types in our Help section.