If you have browsed many sites, you have probably encountered some error message every now and then. An error could take place if the web hosting server can't process a request (Error 400), if you must log in so as to see some content and you haven't done so (Error 401), if you are not permitted to access some page (Error 403) or when a link leads to a file which isn't on the server (Error 404). Encountering such messages could sometimes be annoying as the pages don't have anything in common with the actual Internet site. That’s why some hosting service providers allow you to apply your own error pages that will match the layout of your own Internet site and which may have any content that you want - details why the error has appeared, a suggestion how to proceed or even some witty comment. This sort of function shall help you keep the visitor on the site regardless of the error and the reason for it.
Custom Error Pages in Website Hosting
If you get a Linux website hosting from our company, you'll be able to set customized error pages for your websites easily, as this feature is a part of all of our solutions. After 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 particular domain or subdomain. Inside the pop-up that will appear, you'll see drop-down menus for all four types of errors and for each of them you can select an Apache default page, a generic page from our system or a customized page. Should you select the 3rd option, you should simply type the URL to the file you have uploaded then save the change. Another way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you do not have prior experience or if you are just unsure how to do that, you can simply copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting packages that we provide support custom made error pages and it shall not take more than a couple of clicks in your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP in which you will have to input the links to the custom-made files using simple drop-down menus and an intuitive interface. Of course, you need to upload them inside your account before that. If you do not need to use this function at some point, you can disable it just as easily and choose an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you'd like to, you can also use an .htaccess file to permit the customized error pages. The file needs to include a particular line of code as well as a link for every single error type and you can find an example of the entire content for all four error types in our Help section.