If a specific page on a site does not load for some reason or in case a link is not functioning, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the website. A possible solution in this case is a feature made available from some website hosting providers - the ability to set your own custom error pages which shall have the same style and design as your site and which could contain any images or text that you would like dependent upon the particular error. There are four standard errors which may take place and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you haven't done this yet; 403, if you do not have a permission to see a certain page; and 404, if a link which you have clicked leads to a file that doesn't exist. In each of these scenarios, visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Shared Hosting

If you obtain a Linux shared hosting from us, you shall be able to set customized error pages for your websites easily, because this feature is part of all our packages. The moment you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up which will show up, you shall see drop-down menus for all four types of errors and for each of them you could pick an Apache default page, a generic page from our system or a custom page. If you choose the 3rd option, you should just input the URL to the file that you've uploaded then save the change. One other way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. If you don't have preceding experience or if you are simply unsure how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated hosting which we provide support custom made error pages and it will not take more than a couple of clicks in your Hepsia website hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP where you'll have to input the links to the custom-made files through very simple drop-down menus and an easy to use interface. Of course, you need to upload them in your account before that. If you don't want to employ this function at some point, you could deactivate it just as fast and choose an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to activate the custom made error pages. The file needs to contain a particular line of code as well as a link for every error type and you can easily discover an example of the whole content for all four error types in our Help section.