When a page on your website does not load, an error message shall be shown to the site visitor. Because there are different errors, there are different pages that will show up, but what is standard for all of them is that they're generic and in all probability shall have nothing that is similar to the layout of your Internet site, which can be annoying for any website visitor. This is the reason why hosting providers have introduced a feature known as Custom Error Pages. For a range of different errors, visitors shall see your unique content, which could be informative or humorous, depending on your personal preference, and that will match the overall design of your site, so the pages will not seem like they aren't part of your website at all. You can use this option for a number of 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 our company, you shall be able to set custom error pages for your Internet sites quickly and easily, because this function is part of all our solutions. After you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will be displayed, you will see drop-down options menus for all 4 kinds of errors and for each one of them you can pick an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should only input the URL to the file that you've uploaded and save the change. Another way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of program code in it. In case you don't have previous experience or if you're simply not sure how to do that, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Our semi-dedicated hosting packages support custom made error pages, so you will be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and then to type the link to the custom file. You could do this separately for each error type. You shall be able to switch back to a generic error page anytime if necessary and the change shall take effect instantly. A different way to get the very same result is to set an .htaccess file in the domain or subdomain folder associated with the website that you would like to change and to enter a few lines of program code in it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you'll not need any programming skills or previous experience.