Custom Error Pages
Get familiar with website error pages. Discover when they show up and why you need to configure your own custom error pages.
If a page on your site does not load, an error message shall be displayed to the visitor. Because there are different errors, there are different pages that will appear, but what is standard for all of them is that they are generic and most likely will have absolutely nothing that resembles the layout of your Internet site, which can be annoying for any site visitor. This is the reason why web hosting companies have introduced a feature referred to as Custom Error Pages. For a wide variety of different errors, visitors shall see your customized content, which may be informative or funny, based on your personal preference, and that will match the overall layout of your Internet site, so the pages will not appear as if they aren't part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
-
Custom Error Pages in Shared Website Hosting
You can set up custom made error pages for any of your domains or subdomains. The function is supported by all
shared website hosting solutions that we provide, so after you log in to your Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you can select the sort of error page that should appear - a default one from our system, a conventional Apache server page or a custom one. For the last mentioned alternative, you'll have to assign the URL to the page, so if you use personalized pages, you have to upload the files inside your website hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The exact syntax can be found in our Knowledge Base, so you can use this feature even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Servers
All our
semi-dedicated hosting plans support personalized error pages, so you'll be able to use this feature for any domain or subdomain hosted inside your account. All it takes to do that is to go to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the given domain/subdomain and to enter the link to the custom-made file. You can do this individually for each error type. You'll be able to switch back to a default error page anytime if needed and the change will take effect immediately. An alternative way to achieve the very same result is to place an .htaccess file inside the domain or subdomain folder of the site which you'd like to modify and to enter a couple of lines of program code in it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you won't need any programming skills or previous experience.