Custom Error Pages
Get familiar with website error pages. Discover when they appear and why you should configure your own custom error pages.
Each time a page on your website does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will show up, but what's typical for all of them is that they are generic and most likely shall have nothing that is similar to the design of your Internet site, which could be aggravating for any website visitor. This is the primary reason why website hosting service providers have introduced a feature known as Custom Error Pages. For a range of different errors, visitors will see your custom content, which could be informative or witty, in accordance with your personal preference, and which will match the overall layout of your website, so the pages won't 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 Hosting
The custom made error pages feature is provided with every hosting
plan which we offer and you'll be able to replace all the generic pages with your own with no more than just a few clicks in your Hepsia website hosting CP. You will have to develop the actual files and to upload them to your account, then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You could do this for each Internet site hosted in the account individually, so that each group of customized pages will have the exact same design as the site it's part of. When necessary, you can always go back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you can simply copy the needed program code from our Help article about this.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers
support personalized 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 check out the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the specific domain/subdomain and to type the link to the custom file. You can do this separately for each and every error type. You will be able to switch back to a standard error page whenever you want if needed and the change shall take effect immediately. An alternative way to get the exact same result is to set an .htaccess file inside the domain or subdomain folder of the site which you'd like to modify and to type in a few lines of code in it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you won't need any computer programming skills or prior experience.