If a particular page on an Internet site does not 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 Internet site, which could make the visitor leave your site. A likely solution in such a case is a function made available from some hosting service providers - the option to set your own customized error pages that shall have exactly the same design as your site and which can contain any images or text that you'd like dependent upon the specific error. There are 4 well-known errors that could take place and they involve the following 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 webpage, but you haven't done this yet; 403, if you don't have a permission to view a specific page; and 404, if a link that you've clicked leads to a file that doesn't exist. In any of these scenarios, website visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Shared Hosting

When you acquire a Linux shared hosting from us, you will be able to set personalized error pages for your websites quickly and easily, because this feature is a part of all our solutions. The moment you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will show up, you'll see drop-down options menus for all 4 kinds of errors and for each one of them you can pick an Apache default page, a generic page from our system or a tailor-made page. Should you select the 3rd option, you should just enter the URL to the file that you've uploaded then save the change. A different way to set custom made error pages is to create 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 preceding experience or if you're just unsure how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All of the Linux semi-dedicated hosting which we provide support personalized error pages and it shall not take more than a few clicks inside your Hepsia web hosting Control Panel to use this function. The option is included in the Hosted Domains section of your CP where you will have to type in the links to the custom-made files via simple drop-down menus and an easy to work with interface. Of course, you have to upload them in your account before that. In case you do not need to employ this function at some point, you could disable it just as quickly and pick an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to permit the personalized error pages. The file has to contain a particular line of code as well as a link for each and every error type and you can easily find an example of the entire content for all four error types in our Help section.