If a certain page on an Internet site doesn't load for some reason or if a link is not functioning, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave the website. A potential solution in such a case is a function offered by some website hosting service providers - the ability to set up your own personalized error pages that shall have identical style and design as your website and which may contain any images or text which you want based on the particular error. There are 4 common errors which can occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see a web page, but you haven't done so yet; 403, if you don't have a permission to view a specific page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In all of these situations, website visitors will be able to see your custom content rather than a generic error page.

Custom Error Pages in Cloud Hosting

The custom made error pages function is available with every single cloud hosting plan that we offer and you'll be able to swap all generic pages with your own with no more than just a few clicks in your Hepsia website hosting Control Panel. You shall need to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can do this for each and every Internet site hosted in the account independently, so that each set of custom made pages will have identical design and style as the Internet site it is part of. If required, you may always return back to a default page from our system or to the default Apache server page. Another 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 never done this before, you can simply copy the required program code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support customized error pages, so you'll be able to use this function for each domain or subdomain hosted in your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the particular domain/subdomain and to type in the link to the custom file. You could do this separately for each error type. You will be able to switch back to a default error page at any time if required and the change shall take effect at once. A different way to achieve the very same result is to put an .htaccess file inside the domain or subdomain folder of the web site that you'd like to modify and to type in several lines of program code within it. If you need to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, thus you will not need any computer programming skills or prior experience.