If a page on your website doesn't load, an error message will be displayed to the site visitor. As there are different errors, there are different pages which will display, but what is common for all of them is that they're generic and almost certainly will have absolutely nothing that resembles the layout of your website, which could be annoying for any visitor. That is the reason why web hosting providers have introduced a function called Custom Error Pages. For a range of different errors, site visitors shall see your custom content, which can be informative or funny, based on your choice, and that will match the design and style of your site, so the pages shall not look like they're not 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 acquire a shared website hosting plan from our company, you shall be able to set custom made error pages for your websites easily, as this feature is a part of all our packages. As soon as you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you will see drop-down options menus for all 4 sorts of errors and for each of them you may select an Apache default page, a generic page from our system or a customized page. If you select the 3rd option, you should simply input the URL to the file which you have uploaded and save the change. Another way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. If you do not have preceding experience or if you are simply unsure how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Including your pages for each of the 4 error types to any web site hosted through a semi-dedicated server account with us will be really simple and won't take more than a few clicks. After you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could choose what page should appear for each and every error type. The alternatives are a standard Apache web server page or a page from our system, and custom pages. If you select the abovementioned option, you need to type the link to each page in your account, then save the change. The link or the sort of page which will appear in case a user encounters an error can be modified whenever you want. If you are more experienced, you could use an .htaccess file to set in-house developed error pages as well, instead of using our integrated generator tool, and if you choose this option, the file must be placed in the root directory of a specific domain or subdomain.