If a specific page on an Internet site does not load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave your website. A potential solution in such a case is a feature offered by some web hosting providers - the option to set your own custom error pages which shall have exactly the same layout as your site and which could contain any text or images you want based on the specific error. There are four well-known errors which could occur and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it cannot be processed; 401, in case you are supposed to log in to see some web page, but you have not done so yet; 403, if you do not have an authorization to see a specific page; and 404, when a link which you have clicked leads to a file which doesn't exist. In each of these scenarios, site visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Web Hosting
You shall be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all web hosting solutions that we provide, so as soon as you log in to your Hepsia Control Panel and navigate 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 may select the type of error page which should appear - a default one from our system, a typical Apache server page or a custom one. For the latter option, you have to specify the URL to the page, so if you use personalized pages, you should upload the files inside your website hosting account first. One other way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The actual syntax can be seen in our Knowledge Base, to help you use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting packages that we supply support custom made error pages and it shall not take more than a couple of mouse clicks inside your Hepsia website 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 simple drop-down menus and a user-friendly interface. Of course, you need to upload them in your account before that. In case you do not need to use this feature at some point, you could disable it just as easily and choose an Apache server page or a default page from our system to be viewable whenever your visitors encounter an error. If you'd like to, you can also use an .htaccess file to allow the personalized error pages. The file should have a specific line of code and 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.