Whenever a page on your site 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 common for all of them is that they are generic and almost certainly will have absolutely nothing that resembles the design of your site, which may be annoying for any website visitor. That is the primary reason why website hosting companies have introduced a function referred to as Custom Error Pages. For a variety of different errors, site visitors shall see your unique content, which could be informative or witty, in accordance with your personal preference, and that will match the overall design and style of your Internet site, so the pages won't look like they are not part of your Internet site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
If you buy a Linux website hosting
from our company, you'll be able to set personalized error pages for your sites fast and easy, as this feature 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. Inside the pop-up which will be displayed, you shall see drop-down menus for all four kinds of errors and for each one of them you could pick an Apache default page, a generic page from our system or a tailor-made page. If you select the third option, you should only input the URL to the file which you have uploaded then save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you do not have preceding experience or if you're just not sure how to do this, you may just copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated hosting services
that we supply support custom made error pages and it shall not take more than several mouse clicks inside your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your CP in which you'll have to input the links to the custom-made files via simple drop-down menus and an easy to work with interface. Needless to say, you have to upload them inside your account before that. If you don't need to use this function at some point, you can easily disable it just as easily and choose an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd like to, you could also use an .htaccess file to allow the custom error pages. The file has to include a specific line of code as well as a link for each and every error type and you may discover an example of the whole content for all four error types in our Help section.