Custom Error Pages
Learn what a Custom Error Page is, what function does it have and ways to set up one.
Each time a page on your Internet site doesn't load, an error message will be shown to the site visitor. Because there are different errors, there are different pages which will appear, but what's typical for all of them is that they're generic and in all probability shall have nothing in common with the design of your Internet site, which may be annoying for any visitor. This is the reason why hosting companies have introduced a feature called Custom Error Pages. For a wide variety of different errors, site visitors shall see your unique content, which could be informative or funny, depending on your taste, and which shall match the overall design of your Internet site, so the pages shall not seem like they are not part of your site at all. You can use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
-
Custom Error Pages in Shared Web Hosting
The customized error pages feature is provided with each
shared web hosting package deal we offer and you'll be able to swap the generic pages with your own with no more than a couple of mouse clicks from your Hepsia hosting Control Panel. You will have to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia CP. You can do this for each and every website hosted inside the account independently, so that each group of custom pages will have identical design as the site it's part of. When necessary, you may always return back to a default page from our system or to a default Apache server page. One other way to set customized 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 could simply copy the needed code from our Help article on the subject.
-
Custom Error Pages in Semi-dedicated Hosting
All of our
Linux semi-dedicated hosting services support customized error pages, so you will be able to employ this function for each domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the given domain/subdomain and then to type the link to the custom file. You'll be able to do this individually for each and 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. An alternative way to achieve the same result is to put an .htaccess file in the domain or subdomain folder of the website which you would like to change and to input several lines of program code within it. If you need to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you'll not need any programming skills or prior experience.