If a particular page on a site does not load for some reason or if a link is broken, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your Internet site. A potential solution in cases like this is a feature offered by some website hosting companies - the option to set your own custom error pages that shall have the exact same style and design as your Internet site and that can contain any text or images you want depending on the particular error. There are 4 standard errors which can occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a webpage, but you haven't done so yet; 403, if you do not have a permission to view a specific page; and 404, if a link that you have clicked leads to a file that does not exist. In each of these situations, site visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up custom error pages for each of your domains or subdomains. The function is supported by all shared website hosting solutions which we provide, so as soon as you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will appear, you could choose the type of error page which should show up - a default one from our system, a standard Apache server page or a customized one. For the last mentioned alternative, you need to assign the URL to the page, so if you use custom made pages, you must upload the files inside your web hosting account first. One other way is to use an .htaccess file located inside the domain or subdomain folder with a line for each error type. The actual syntax can be located in our Knowledge Base, so you can use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of the Linux semi-dedicated plans which we provide support tailor-made error pages and it shall not take more than several mouse clicks inside your Hepsia hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your CP where you will need to input the links to the custom-made files using basic drop-down menus and a time and effort saving interface. Of course, you need to upload them inside your account before that. In case you do not need to employ this function at some point, you can easily disable 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 permit the customized error pages. The file has to contain a specific line of code plus a link for each and every error type and you may discover an example of the whole content for all four error types in our Help section.