When a page on your site does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will display, but what's standard for all of them is that they're generic and probably shall have practically nothing that resembles the layout of your website, which can be irritating for any visitor. That is the reason why web hosting companies have introduced a feature referred to as Custom Error Pages. For a variety of different errors, website visitors shall see your customized content, which can be informative or humorous, in accordance with your choice, and which will match the layout of your site, so the pages shall not look like they're not part of your site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Shared Hosting

If you buy a shared hosting from us, you'll be able to set customized error pages for your sites fast and easy, since this function is a part of all our solutions. Once you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. In the pop-up which will show up, you'll see drop-down 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 made page. In case you pick the 3rd option, you should simply type the URL to the file you have uploaded then save the change. A different way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. In case you don't have preceding experience or if you're just not sure how to do this, you can just copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated packages which we provide support custom made error pages and it shall not take more than a couple of mouse clicks from your Hepsia web hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your CP where you will have to enter the links to the custom-made files via very simple drop-down menus and a user-friendly interface. Keep in mind, you have to upload them in your account before that. If you do not need to employ this function at some point, you will be able to deactivate it just as quickly and pick an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you'd like to, you may also use an .htaccess file to permit the custom error pages. The file has to have a particular line of code plus a link for each error type and you can find an example of the whole content for all four error types in our Help section.