Custom Error Pages
Get familiar with website error pages. Discover when they show up and why you need to set up your own custom error pages.
Each time a page on your site does not load, an error message will be shown to the visitor. As there are different errors, there are different pages which will display, but what is typical for all of them is that they are generic and probably shall have nothing that is similar to the design of your Internet site, which may be frustrating for any website visitor. This is the primary reason why web hosting providers have introduced a feature named Custom Error Pages. For a wide variety of different errors, site visitors shall see your custom made content, which could be informative or witty, depending on your personal preference, and which will match the style and design of your site, so the pages won't look like they are not part of your site at all. You may 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
When you acquire a
Linux shared website hosting from us, you'll be able to set customized error pages for your websites easily, because this feature is part of all of our plans. After you've created the files and uploaded them to your website hosting account, you should 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 which will appear, you shall see drop-down menus for all 4 types of errors and for each one of them you can select an Apache default page, a generic page from our system or a customized page. Should you choose the third option, you should just enter the URL to the file which you have uploaded and save the change. A different way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. In case you don't have prior experience or if you are just not sure how to do this, you could just copy/paste the code from our Knowledge Base article on that subject.
-
Custom Error Pages in Semi-dedicated Hosting
All our
Linux semi-dedicated hosting support custom error pages, so you'll be able to use this feature for every single domain or subdomain hosted in your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the particular domain/subdomain and to enter the link to the custom-made file. You are able to do this individually for each and every error type. You shall be able to switch back to a standard error page whenever you want if required and the change shall take effect instantly. Another way to get the very same result is to put an .htaccess file in the domain or subdomain folder related to the web site that you want to modify and to type in a few lines of code in it. If you'd like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, thus you will not need any coding skills or prior experience.