If a particular page on a website doesn't load for some reason or if a link is broken, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your website. A solution in such a case is a function offered by some web hosting providers - the option to set your own customized error pages that shall have the exact same design as your website and that may contain any images or text which you want based on the specific error. There are 4 popular errors which may occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file that does not exist. In all of these cases, site visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Cloud Hosting

If you acquire a cloud hosting plan from us, you will be able to set personalized error pages for your websites quickly and easily, as this feature is part of all of our packages. After you've created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will appear, you shall see drop-down menus for all 4 sorts of errors and for each of them you may select an Apache default page, a generic page from our system or a customized page. If you select the 3rd option, you should just enter the URL to the file that you have uploaded and save the change. A different way to set custom made error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. If you don't have prior experience or if you're simply uncertain how to do this, you may just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All Linux semi-dedicated plans which we offer support custom made error pages and it shall not take more than several clicks in your Hepsia web hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP where you will need to type in the links to the custom-made files using simple drop-down menus and an intuitive interface. Of course, you should upload them to your account before that. In case you do not need to use this function at some point, you will be able to deactivate it just as fast and pick an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you prefer, you may also use an .htaccess file to permit the custom error pages. The file should contain a specific line of code plus a link for every single error type and you may find an example of the entire content for all four error types in our Help section.