Whenever a page on your website does not load, an error message shall be shown to the site visitor. Since there are different errors, there are different pages which will display, but what's standard for all of them is that they're generic and probably shall have absolutely nothing in common with the layout of your site, which can be frustrating for any visitor. That is the primary reason why website hosting providers have introduced a feature known as Custom Error Pages. For a number of different errors, site visitors shall see your custom content, which can be informative or witty, in accordance with your preference, and that will match the overall design of your Internet site, so the pages will not seem like they are not part of your site at all. You could 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 Hosting

If you get a Linux shared hosting from our company, you will be able to set custom made error pages for your sites fast and easy, because this feature is part of all of our packages. Once you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will be displayed, you'll see drop-down options menus for all four kinds of errors and for each of them you may choose an Apache default page, a generic page from our system or a custom page. If you pick the third option, you should only enter the URL to the file you have uploaded and save the change. A different way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you do not have previous experience or if you're simply unsure how to do this, you may just copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Servers

Including your own pages for any of the 4 error types to any web site hosted in a semi-dedicated server account with us will be really basic and shall not take more than a couple of clicks. Once you upload the files in your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there via an intuitive interface with drop-down menus. You can pick what page should show up for each error type. Your choices are a default Apache server page or a page from our system, and custom pages. Should you choose the abovementioned option, you must input the link to every single page in your account, then save the change. The link or the sort of page that will appear if a user encounters an error can be changed anytime. If you're more experienced, you can use an .htaccess file so as to set custom error pages as well, as opposed to using our integrated generator tool, and should you select this option, the file has to be placed in the root directory of a particular domain or subdomain.