If a page on your site does not load, an error message shall be shown to the website visitor. Because there are different errors, there are different pages that will display, but what's typical for all of them is that they're generic and almost certainly shall have practically nothing that is similar to the layout of your website, which can be annoying for any site visitor. That is the main reason why web hosting providers have introduced a function referred to as Custom Error Pages. For a wide variety of different errors, website visitors will see your unique content, which could be informative or amusing, based on your personal preference, and that will match the style and design of your site, so the pages will not look like they're not part of your Internet site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
You shall be able to set up custom error pages for any of your domains or subdomains. The feature is supported by all website hosting plans which we provide, so as soon as you log in to your Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could choose the kind of error page that should appear - a default one from our system, a conventional Apache web server page or a customized one. For the aforementioned alternative, you will need to assign the URL to the page, so if you use personalized pages, you need to upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The precise syntax can be located in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All semi-dedicated hosting plans that we supply support customized error pages and it shall not take more than a couple of mouse clicks inside your Hepsia hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your Control Panel where you will have to input the links to the custom-made files via basic drop-down menus and an easy to use interface. Keep in mind, you need to upload them to your account before that. If you don't want to use this function at some point, you can easily deactivate it just as quickly and choose an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to allow the personalized error pages. The file needs to include a particular line of code as well as a link for every error type and you may discover an example of the entire content for all four error types in our Help section.