Custom Error Pages
Find out what a Custom Error Page is, what function does it have and ways to set up one.
If you have browsed many sites, you have probably encountered some error message every now and then. An error could occur when the website hosting server can't process a request (Error 400), if you need to log in in order to see some content and you haven't done so (Error 401), if you aren't allowed to access a page (Error 403) or if a link leads to a file that isn't on the hosting server (Error 404). Receiving such messages can often be annoying as the pages have absolutely nothing in common with the actual Internet site. That’s why some web hosting companies allow you to apply your own error pages that'll match the design of your own site and which may have any content which you would like - information why the error has appeared, a suggestion how to proceed or even some amusing comment. This type of function can help you keep the visitor on the website whatever the error and the reason for it.
-
Custom Error Pages in Website Hosting
If you buy a
Linux website hosting service from our company, you'll be able to set personalized error pages for your Internet sites fast and easy, since this function is a part of all our packages. The moment you've created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up which will show up, you will see drop-down options menus for all 4 sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom page. In case you select the 3rd option, you should just enter the URL to the file you have uploaded then save the change. A different way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you don't have preceding experience or if you are simply unsure how to do this, you can simply copy and paste the code from our Knowledge Base article on that subject.
-
Custom Error Pages in Semi-dedicated Servers
When you host your sites in a
semi-dedicated server account from our company, you'll be able to set custom error pages for any of them with ease via our in-house made Hepsia hosting CP. With a few mouse clicks inside the Hosted Domains section, you'll be able to change the default setting from a system page to a custom made one for each of the 4 error types. All you should do is supply a link to each and every file that you have uploaded before that and then save the change. If needed, you shall be able to revert this customization anytime and in exactly the same way. If you prefer, you could use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder associated with the internet site whose error pages you would like to change and the content for such a file can be found in our Help article for this matter.