If a particular page on a website doesn't load for some reason or in case a link is not working, 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 could make the visitor leave your website. A likely solution in this case is a feature made available from some website hosting providers - the option to set up your own custom error pages that will have the same style and design as your Internet site and which could contain any text or images that you would like depending on the specific error. There are four standard errors which could occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to see a specific page; and 404, if a link which you've clicked leads to a file that does not exist. In any of these scenarios, visitors will be able to see your customized content instead of a generic error page.

Custom Error Pages in Hosting

If you obtain a Linux hosting from our company, you will be able to set personalized error pages for your Internet sites easily and quickly, because this function is a part of all of our solutions. The moment 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 appear, you shall see drop-down menus for all 4 sorts of errors and for each of them you can select an Apache default page, a generic page from our system or a tailor-made page. In case you choose the 3rd option, you should just type the URL to the file that you've uploaded and save the change. A different way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. If you don't have prior experience or if you're just unsure how to do this, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

All semi-dedicated servers which we supply support custom error pages and it shall not take more than a couple of clicks in your Hepsia hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your Control Panel where you'll need to input the links to the custom-made files through basic drop-down menus and an easy to work with interface. Needless to say, you have to upload them inside your account before that. In case you do not want to use this function at some point, you could deactivate it just as fast and pick an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to enable the personalized error pages. The file has to contain a specific line of code as well as a link for each error type and you may find an example of the whole content for all four error types in our Help section.