Each time a page on your website does not load, an error message shall be displayed to the site visitor. Since there are different errors, there are different pages that'll display, but what's standard for all of them is that they're generic and most likely will have practically nothing that is similar to the design of your site, which could be annoying for any site visitor. That is the primary reason why website hosting companies have introduced a function named Custom Error Pages. For a number of different errors, visitors shall see your custom content, which could be informative or humorous, in accordance with your choice, and which shall match the overall layout of your Internet site, so the pages will not appear as if they are not part of your website 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

You will be able to set up custom error pages for any of your domains or subdomains. The function is supported by all shared hosting plans that we offer, so as soon as you log in to your Hepsia Control Panel and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you can select the sort of error page which should appear - a default one from our system, a typical Apache server page or a personalized one. For the aforementioned option, you have to specify the URL to the page, so when you use custom pages, you must upload the files inside your hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The exact syntax can be located in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All of the Linux semi-dedicated hosting plans that we provide support customized error pages and it will not take more than a few mouse clicks inside your Hepsia web hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP in which you'll have to enter the links to the custom-made files through simple drop-down menus and an easy to work with interface. Keep in mind, you have to upload them inside your account before that. If you don't need to use this feature at some point, you can disable it just as easily and choose an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to allow the custom error pages. The file needs to have a specific line of code plus a link for each error type and you can easily find an example of the entire content for all four error types in our Help section.