Whenever a page on your site doesn't load, an error message will be shown to the website visitor. Because there are different errors, there are different pages that will show up, but what is common for all of them is that they're generic and in all probability will have practically nothing that is similar to the design of your Internet site, which can be annoying for any visitor. That is the main reason why website hosting companies have introduced a function named Custom Error Pages. For a wide variety of different errors, site visitors will see your custom content, which could be informative or funny, in accordance with your taste, and which will match the overall style and design of your website, so the pages shall not seem like they're not part of your website at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Website Hosting

When you purchase a Linux shared website hosting from us, you'll be able to set customized error pages for your sites easily, since this feature is part of all of our plans. As soon as you've created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will appear, you'll see drop-down options menus for all 4 types of errors and for each one of them you could select an Apache default page, a generic page from our system or a customized page. In case you choose the 3rd option, you should simply enter the URL to the file which you have uploaded then save the change. Another way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. In case you don't have previous experience or if you're just unsure how to do this, you could simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

All of the Linux semi-dedicated hosting plans that we offer support personalized error pages and it will not take more than a few mouse clicks in your Hepsia hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your CP where you'll have to type in the links to the custom-made files via simple drop-down menus and a time and effort saving interface. Keep in mind, you should upload them inside your account before that. In case you do not want to use this function at some point, you could deactivate it just as easily and choose an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to activate the personalized error pages. The file has to have a specific line of code plus a link for every error type and you can easily find an example of the whole content for all four error types in our Help section.