If a particular page on a website does not load for some reason or if a link is not working, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave the site. A likely solution in this case is a feature made available from some website hosting providers - the option to set up your own customized error pages that shall have exactly the same layout as your Internet site and which can contain any images or text you want based on the particular error. There are 4 well-known errors which may occur and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to view a certain page; and 404, when a link which you've clicked leads to a file that doesn't exist. In any of these situations, site visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Hosting

When you order a Linux hosting package from our company, you shall be able to set custom error pages for your sites fast and easy, as this function is a part of all our packages. After you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will show up, you shall see drop-down options menus for all 4 types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a customized page. In case you choose the third option, you should just input 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 inside the domain or subdomain folder and to add a couple of lines of code in it. If you don't have previous experience or if you are simply not sure how to do this, you may just copy/paste the code from our Knowledge Base article on that subject.

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 few clicks from your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP in which you'll need to type in the links to the custom-made files through basic drop-down menus and an easy to use interface. Of course, you should upload them to your account before that. In case you don't need to employ this feature at some point, you could deactivate it just as easily 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 could also use an .htaccess file to allow the custom error pages. The file should have a specific line of code plus a link for each and every error type and you may discover an example of the entire content for all four error types in our Help section.