Custom Error Pages
Get familiar with website error pages. Discover when they appear and why you need to configure your own custom error pages.
Each time a page on your Internet site doesn't load, an error message will be shown to the visitor. Because there are different errors, there are different pages that will display, but what's typical for all of them is that they're generic and in all probability will have practically nothing in common with the layout of your site, which could be aggravating for any visitor. This is the reason why website hosting companies have introduced a function named Custom Error Pages. For a wide variety of different errors, site visitors shall see your custom made content, which may be informative or amusing, in accordance with your preference, and that will match the design and style of your website, so the pages shall not appear as if they aren't part of your website 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 Shared Website Hosting
The personalized error pages function is available with every single
shared website hosting package which we offer and you will be able to substitute the generic pages with your own with no more than several mouse clicks in your Hepsia website hosting CP. You shall need to produce the actual files and to upload them to your account, and then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can do this for every site hosted in the account independently, so that every group of custom made pages will have the very same style and design as the website it's part of. If required, you may always go back to a default page from our system or to the default Apache server page. Another way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you have never done this before, you can simply copy the necessary code from our Help article about this.
-
Custom Error Pages in Semi-dedicated Hosting
All our
semi-dedicated hosting support personalized error pages, so you'll be able to use this feature for each domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and to input the link to the custom-made file. You could do this separately for every error type. You shall be able to switch back to a generic error page anytime if necessary and the change will take effect straightaway. A different way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder related to the Internet site which you'd like to modify and to type in a few lines of code in it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you'll not need any computer programming skills or previous experience.