Whenever a page on your website doesn't load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages that'll display, but what's common for all of them is that they're generic and in all probability will have absolutely nothing in common with the layout of your site, which can be frustrating for any visitor. This is the primary reason why web hosting providers have introduced a function known as Custom Error Pages. For a variety of different errors, visitors shall see your customized content, which could be informative or humorous, based on your personal preference, and that will match the overall layout of your website, so the pages will not look like they are not part of your 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

You'll be able to set up custom made error pages for all of your Internet sites with ease when you use any of our website hosting plans. This could be done from the Hosted Domains part of the Hepsia Control Panel, offered with all accounts as soon as you go there, you'll be able to set your custom pages independently for any domain or subdomain. You must upload the files to your account before you start and enter the links to them through the process. This function may be de-activated at any time and the options you shall be able to to pick from are a conventional page from our system or a default Apache web server page. Tailor-made error pages may be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated hosting plans support customized error pages, so you shall be able to employ this feature for any domain or subdomain hosted in your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and then to type the link to the custom-made file. You can do this separately for each and every error type. You'll be able to switch back to a default error page anytime if needed and the change will take effect at once. Another way to get the very same result is to set an .htaccess file inside the domain or subdomain folder associated with the website which you would like to modify and to type in several lines of code inside it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you will not need any coding skills or prior experience.