If you have checked out many sites, you've probably stumbled upon some error message every now and then. An error can occur in case the website hosting server can't process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you aren't permitted to access some page (Error 403) or if a link leads to a file that is not on the website hosting server (Error 404). Getting such messages could sometimes be irritating as the pages have nothing in common with the actual website. That’s why some website hosting service providers permit you to use your own error pages which will match the design of your own site and which could have any content that you want - info why the error has taken place, a suggestion how to proceed or even some funny comment. This sort of function shall help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Cloud Hosting

When you order a Linux cloud package from our company, you'll be able to set custom error pages for your sites easily and quickly, since this function is part of all our packages. After you've 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 appear, you shall see drop-down menus for all four kinds of errors and for each of them you may pick an Apache default page, a generic page from our system or a custom page. Should you choose the third option, you should only type the URL to the file that you have uploaded and save the change. One other way to set custom made error pages is to set up 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 preceding experience or if you are just uncertain how to do that, you could simply copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting packages support personalized error pages, so you shall be able to use this feature for every single domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and then to input the link to the custom-made file. You'll be able to do this individually for each and every error type. You will be able to switch back to a default error page at any time if required and the change shall take effect right away. A different way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder associated with the site which you'd like to change and to input a couple of lines of program code within it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any coding skills or prior experience.