If a specific page on a site doesn't load for some reason or if a link is not functioning, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which can make the visitor leave the site. A potential solution in this case is a feature made available from some hosting companies - the ability to set up your own personalized error pages which will have the exact same style and design as your website and that can contain any text or images that you would like dependent upon the specific error. There are four standard errors that can take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, in case a link that you have clicked leads to a file that does not exist. In all of these cases, site visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Hosting

When you purchase a shared hosting plan from our company, you'll be able to set customized error pages for your sites easily and quickly, since this function is part of all of our solutions. Once you have created the files and uploaded them to your website hosting account, you can 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 that will be displayed, you will see drop-down menus for all 4 sorts of errors and for each one of them you could select an Apache default page, a generic page from our system or a custom made page. In case you choose the 3rd option, you should only enter the URL to the file you have uploaded and save the change. A different way to set custom made error pages is to set up 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 unsure how to do that, you can simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

When you host your sites in a semi-dedicated server account from us, you may set custom error pages for each of them easily via our in-house created Hepsia hosting CP. With just several clicks in the Hosted Domains section, you are able to edit the default setting from a system page to a personalized one for any of the four error types. All you need to do is provide a link to every single file you have uploaded before that and then save the change. If needed, you'll be able to revert this modification anytime and in exactly the same way. If you would like, you can use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder linked to the site whose error pages you intend to change and the content for this type of file can be found in our Help article on this matter.