If a page on your website does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will display, but what is standard for all of them is that they are generic and most likely will have practically nothing that resembles the layout of your Internet site, which can be annoying for any visitor. This is the reason why website hosting service providers have introduced a feature known as Custom Error Pages. For a range of different errors, website visitors shall see your unique content, which may be informative or witty, depending on your taste, and that will match the layout of your website, so the pages won't look like they aren't 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 Web Hosting
You can set up personalized error pages for each of your domains or subdomains. The feature is supported by all shared web hosting solutions that we offer, so as soon as you log in to the Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you may choose the kind of error page which should show up - a default one from our system, a standard Apache server page or a personalized one. For the latter option, you'll have to specify the URL to the page, so when you use custom made pages, you need to upload the files in your Internet hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, so you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated packages that we provide support customized error pages and it shall not take more than a couple of clicks from your Hepsia hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your Control Panel where you'll need to enter the links to the custom-made files through very simple drop-down menus and an easy to work with interface. Needless to say, you should upload them inside your account before that. In case you do not want to use this feature at some point, you could deactivate it just as quickly and choose an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd like to, you could also use an .htaccess file to activate the custom error pages. The file should contain a particular line of code plus a link for each and every error type and you can easily find an example of the whole content for all four error types in our Help section.