Whenever a page on your site does not load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will show up, but what is common for all of them is that they are generic and in all probability shall have nothing that resembles the layout of your website, which may be annoying for any website visitor. That is the reason why website hosting service providers have introduced a feature named Custom Error Pages. For a range of different errors, site visitors will see your customized content, which can be informative or amusing, in accordance with your choice, and which will match the overall design and style of your website, so the pages shall not seem like they aren't part of your website at all. You could use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Web Hosting

The personalized error pages function is provided with each and every web hosting plan that we offer and you'll be able to replace the generic pages with your own with no more than several mouse clicks from your Hepsia website hosting Control Panel. You will have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia CP. You can do this for every single Internet site hosted inside the account individually, so that every group of custom made pages will have identical design and style as the site it is part of. When necessary, you may always go back to a default page from our system or to the default Apache server page. A different way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the required program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated packages support customized error pages, so you'll be able to employ this feature for each and every domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the particular domain/subdomain and then to type the link to the custom file. You are able to do this separately for each error type. You'll be able to switch back to a standard error page anytime if required and the change shall take effect right away. A different way to get the very same result is to put an .htaccess file in the domain or subdomain folder of the Internet site that you want to edit and to enter several lines of 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, so you won't need any programming skills or prior experience.