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

Custom Error Pages in Shared Hosting

If you order a Linux shared hosting from us, you will be able to set custom error pages for your websites easily, as this function is a part of all of our solutions. Once you have created the files and uploaded them to your hosting account, you can go to 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'll see drop-down menus for all 4 sorts of errors and for each of them you could choose an Apache default page, a generic page from our system or a custom made page. Should you choose the third option, you should simply enter the URL to the file you have uploaded and save the change. Another 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 program code in it. In case you don't have previous experience or if you're just unsure how to do that, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All Linux semi-dedicated servers that we offer support tailor-made error pages and it shall not take more than a few mouse clicks in your Hepsia website hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your CP in which you'll have to type in the links to the custom-made files using simple drop-down menus and an easy to work with interface. Of course, you should upload them inside your account before that. In case you do not need to use this feature at some point, you could disable it just as fast 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 prefer, you could also use an .htaccess file to permit the custom made error pages. The file should contain a particular line of code as well as a link for each error type and you can easily discover an example of the entire content for all four error types in our Help section.