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

Custom Error Pages in Web Hosting

If you acquire a Linux web hosting service from us, you shall be able to set personalized error pages for your Internet sites easily and quickly, because this feature is part of all our solutions. After you have 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 specific domain or subdomain. In the pop-up which will appear, you shall see drop-down menus for all 4 kinds of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom made page. In case you pick the 3rd option, you should simply input the URL to the file you have uploaded then save the change. A different way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. If you do not have prior experience or if you're just unsure how to do that, you may simply copy/paste the code from our Knowledge Base article on that matter.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated services which we supply support custom made error pages and it shall not take more than several clicks in your Hepsia web hosting Control Panel to use this functionality. The option is included in the Hosted Domains section of your CP in which you'll have to type in the links to the custom-made files using basic drop-down menus and a user-friendly interface. Keep in mind, you must upload them inside your account before that. If you don't want to use this feature at some point, you can disable it just as easily 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 allow the custom error pages. The file needs to have a specific line of code as well as a link for every error type and you can find an example of the entire content for all four error types in our Help section.