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

Custom Error Pages in Cloud Hosting

The customized error pages feature is available with every cloud hosting plan we offer and you'll be able to swap all the generic pages with your own with no more than a few clicks from your Hepsia website hosting CP. You shall need to produce the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia CP. You can easily do this for every Internet site hosted in the account independently, so that each group of custom pages will have the very same style and design as the Internet site it is part of. If needed, you may always revert back to a default page from our system or to a default Apache server page. One other way to set custom made 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 not done this before, you can simply copy the required program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

Our Linux semi-dedicated servers support custom error pages, so you shall be able to employ this function for every single domain or subdomain hosted inside your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the specific domain/subdomain and to input the link to the custom file. You can do this separately for every error type. You will be able to switch back to a default error page at any time if needed and the change shall take effect at once. Another way to get 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 enter a few lines of program code inside it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any coding skills or previous experience.