Custom Error Pages
Find out what a Custom Error Page is, what role does it serve and the way to set up one.
When a page on your Internet site doesn't load, an error message will be displayed to the website visitor. Because 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 in all probability will have practically nothing that resembles the layout of your Internet site, which may be irritating for any visitor. This is the main reason why web hosting providers have introduced a feature referred to as Custom Error Pages. For a variety of different errors, visitors will see your custom content, which could be informative or amusing, depending on your preference, and which will match the overall layout of your Internet site, so the pages won't seem like they are not part of your Internet 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 Shared Web Hosting
You will be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all
shared web hosting solutions which we offer, so when you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you can pick the type of error page which should appear - a default one from our system, a standard Apache web server page or a custom one. For the latter option, you must specify the URL to the page, so if you use customized pages, you have to upload the files in your website hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The actual syntax can be found in our Knowledge Base, so you can use this feature even if you do not have any previous experience.
-
Custom Error Pages in Semi-dedicated Hosting
All our
Linux semi-dedicated hosting support custom made error pages, thus you'll be able to employ this feature for each domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the specific domain/subdomain and to type 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 whenever you want if required and the change shall take effect at once. A different way to achieve the same result is to put an .htaccess file inside the domain or subdomain folder associated with the web site which you want to modify and to input a couple of lines of program code inside it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, hence you'll not need any computer programming skills or prior experience.