Each time a page on your website does not load, an error message shall be shown to the website visitor. Since there are different errors, there are different pages that will show up, but what is common for all of them is that they're generic and probably shall have practically nothing in common with the design of your Internet site, which can be aggravating for any site visitor. This is the main reason why website hosting service providers have introduced a function named Custom Error Pages. For a range of different errors, visitors shall see your custom content, which could be informative or witty, depending on your taste, and which shall match the style and design of your site, so the pages shall not look like they are not part of your website 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 Hosting
You shall be able to set up custom error pages for any of your domains or subdomains. The feature is supported by all shared hosting
plans that we offer, so after you log in to the Hepsia CP and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could choose the type of error page which should show up - a default one from our system, a typical Apache web server page or a personalized one. For the aforementioned option, you will need to specify the URL to the page, so when you use personalized pages, you must upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The exact syntax can be located in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
Our semi-dedicated hosting
support personalized 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 check out the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the particular domain/subdomain and to type in the link to the custom-made file. You are able to do this separately for each and every error type. You'll be able to switch back to a default error page at any time if needed and the change will take effect immediately. An alternative way to achieve the same result is to place an .htaccess file inside the domain or subdomain folder associated with the website that you'd like to edit and to input several lines of program code inside it. If you need to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, hence you will not need any coding skills or previous experience.