If a specific page on an Internet site does not load for some reason or if a link is broken, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave your site. A possible solution in cases like this is a feature made available from some website hosting providers - the option to set your own custom-made error pages that shall have the same design and style as your site and which may contain any text or images which you want depending on the specific error. There are four well-known errors which can take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done so yet; 403, if you do not have an authorization to view a specific page; and 404, when a link which you have clicked leads to a file which doesn't exist. In each of these cases, visitors shall be able to see your custom made content instead of a generic error page.

Custom Error Pages in Shared Website Hosting

When you obtain a Linux shared website hosting from our company, you'll be able to set custom error pages for your Internet sites easily and quickly, as this function is part of all of our solutions. After you've created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will be displayed, you will see drop-down menus for all 4 kinds of errors and for each of them you may select an Apache default page, a generic page from our system or a customized page. In case you pick the 3rd option, you should simply type the URL to the file that you've uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you don't have previous experience or if you're simply not sure how to do that, you can simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

All semi-dedicated hosting packages that we offer support customized error pages and it will not take more than several clicks from your Hepsia hosting Control Panel to use this feature. 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 via basic drop-down menus and an intuitive interface. Needless to say, you must upload them in your account before that. If you don't want to employ this feature at some point, you will be able to deactivate it just as easily and pick an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you prefer, you could also use an .htaccess file to allow the personalized error pages. The file needs to contain a particular line of code and a link for each and every error type and you can easily discover an example of the whole content for all four error types in our Help section.