Whenever a page on your website does not load, an error message will be displayed to the website visitor. As there are different errors, there are different pages that'll appear, but what is typical for all of them is that they're generic and probably will have practically nothing that is similar to the layout of your Internet site, which can be aggravating for any visitor. That is the primary reason why web hosting providers have introduced a feature known as Custom Error Pages. For a number of different errors, website visitors shall see your custom made content, which could be informative or humorous, based on your preference, and which will match the overall design and style of your site, so the pages will not look like they're not part of your site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

You can set up custom made error pages for all of your sites with ease when you use any of our web hosting. This can easily be done from the Hosted Domains section of the Hepsia CP, provided with all accounts and once you go there, you could set your customized pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and enter the links to them through the process. This feature could be de-activated at any time and the options you'll be able to pick from are a standard page from our system or a default Apache server page. Custom made error pages could be set with an .htaccess file as well. 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're not tech-savvy, you could copy the whole content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All of our Linux semi-dedicated servers support custom error pages, so you shall be able to employ this function 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 Control Panel, to click the Edit button related to the given domain/subdomain and to type in the link to the custom file. You'll be able to do this separately for each and every error type. You will be able to switch back to a generic error page whenever you want if needed and the change shall take effect instantly. An alternative way to get the same result is to set an .htaccess file inside the domain or subdomain folder associated with the Internet site which you would like to change and to input a few lines of code within it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, which means that you shall not need any computer programming skills or prior experience.