When a page on your website does not load, an error message shall be shown to the website visitor. As there are different errors, there are different pages which will appear, but what is common for all of them is that they are generic and probably will have nothing in common with the layout of your website, which can be irritating for any visitor. That is the main reason why web hosting providers have introduced a feature named Custom Error Pages. For a number of different errors, website visitors shall see your unique content, which may be informative or amusing, depending on your choice, and that will match the layout of your site, so the pages will not look like they're 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'll be able to set up custom made error pages for each of your websites without difficulty if you use any of our shared packages
. This can be done through the Hosted Domains part of the Hepsia CP, offered with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and input the links to them through the process. This function can be de-activated at any time and the options you shall be able to to select from are a conventional page from our system or a default Apache web server page. Personalized error pages can be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should include some system code and links to the pages. If you're not tech-savvy, you could copy the entire content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All our semi-dedicated packages
support custom error pages, thus you'll be able to use this feature for any domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and to type the link to the custom file. You are able to do this independently for each error type. You shall be able to switch back to a generic error page at any time if necessary and the change shall take effect at once. An alternative way to achieve the very same result is to set an .htaccess file in the domain or subdomain folder related to the website that you'd like to modify and to input a couple of lines of program code within it. If you'd like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you won't need any coding skills or previous experience.