If you have browsed a lot of Internet sites, you've probably encountered some error message from time to time. An error could take place if the server can't process a request (Error 400), if you must log in in order 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 which isn't on the web server (Error 404). Getting this type of messages can sometimes be frustrating because the pages have absolutely nothing in common with the actual website. That’s why some website hosting companies permit you to set your own error pages that'll match the style of your own site and which may have any content that you want - info why the error has occurred, a suggestion how to handle it or even some humorous remark. This sort of feature will help you keep the visitor on the website whatever the error and the reason for it.

Custom Error Pages in Website Hosting

When you buy a website hosting from us, you will be able to set personalized error pages for your websites easily and quickly, as this function is a part of all our packages. Once 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 selected domain or subdomain. Inside the pop-up which will show up, you will 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 personalized page. Should you select the third option, you should simply enter the URL to the file you have uploaded and save the change. One other way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. In case you don't have prior experience or if you are simply not sure how to do this, you may just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated hosting plans support personalized error pages, thus you'll be able to employ this feature for each and every domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to input the link to the custom-made file. You can do this independently for each error type. You will be able to switch back to a generic error page whenever you want if needed and the change will take effect right away. An alternative way to achieve the same result is to place an .htaccess file in the domain or subdomain folder associated with the site which you would like to change and to type in a few lines of program code in it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you won't need any computer programming skills or previous experience.