If a page on your site does not load, an error message will be shown to the visitor. As there are different errors, there are different pages which will display, but what is standard for all of them is that they are generic and probably will have practically nothing that resembles the design of your website, which may be frustrating for any website visitor. That is the primary reason why website hosting providers have introduced a feature named Custom Error Pages. For a number of different errors, website visitors shall see your customized content, which may be informative or amusing, based on your personal preference, and that will match the overall design of your Internet site, so the pages won't seem like they aren't 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 Website Hosting

You can set up customized error pages for all of your domains or subdomains. The feature is supported by all shared website hosting package that we offer, so after you log in to your Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may choose the sort of error page that should show up - a default one from our system, a standard Apache server page or a custom one. For the aforementioned option, you must assign the URL to the page, so if you use custom made pages, you should upload the files in your web hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated plans support tailor-made error pages, so you'll be able to employ this function for every single domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and to enter the link to the custom-made file. You can do this separately for each error type. You will be able to switch back to a generic error page at any time if necessary and the change will take effect straightaway. A different way to achieve the same exact result is to put an .htaccess file inside the domain or subdomain folder associated with the site which you would like to change and to enter several lines of program code inside it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you'll not need any coding skills or prior experience.