Custom Error Pages
Learn what a Custom Error Page is, what function does it serve and the way to set one.
If a certain page on an Internet site doesn't load for some reason or if a link is broken, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that may make the visitor leave the site. A likely solution in this case is a function made available from some hosting service providers - the option to set your own customized error pages that will have exactly the same style and design as your website and that could contain any images or text that you would like depending on the specific error. There are four common errors which could take place and they involve these so-called HTTP status codes - 400, when your Internet 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 a page, but you have not done this yet; 403, if you do not have a permission to see a particular page; and 404, if a link that you have clicked leads to a file which doesn't exist. In all of these situations, visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
If you buy a Linux cloud service
from us, you'll be able to set personalized error pages for your websites easily and quickly, because this feature is part of all of our packages. Once you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will appear, you shall see drop-down options menus for all 4 types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should simply input the URL to the file that you've uploaded and save the change. A different way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. If you don't have previous experience or if you are just unsure how to do that, you can simply copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers
that we provide support custom made error pages and it will not take more than a couple of mouse clicks in your Hepsia web hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your Control Panel where you will need to type in the links to the custom-made files through basic drop-down menus and an easy to use interface. Keep in mind, you need to upload them inside your account before that. If you do not need to employ this feature at some point, you could disable it just as easily and choose an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you prefer, you can also use an .htaccess file to activate the customized error pages. The file needs to contain a particular line of code plus a link for each error type and you can discover an example of the whole content for all four error types in our Help section.