If a certain page on a site does not load for some reason or in case a link is not working, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, which may make the visitor leave the site. A possible solution in such a case is a function offered by some website hosting providers - the ability to set up your own customized error pages that will have exactly the same design and style as your site and that may contain any text or images that you'd like dependent upon the specific error. There are four standard errors which may take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have a permission to see a particular page; and 404, when a link that you've clicked leads to a file that does not exist. In all of these scenarios, visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Web Hosting
You'll be able to set up customized error pages for all of your sites with ease when you use any of our web hosting. This can easily be done via the Hosted Domains section of the Hepsia CP, offered with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You have to upload the files to your account before you start and enter the links to them through the process. This function may be de-activated anytime and the options you will be able to choose from are a standard page from our system or a default Apache server page. Tailor-made error pages can be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should include some system code and links to the pages. If you are not tech-savvy, you may copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated hosting service support tailor-made error pages, thus you'll be able to use this function for every single 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 particular domain/subdomain and then to type in the link to the custom file. You can do this independently for each and every error type. You will be able to switch back to a default error page anytime if necessary and the change shall take effect at once. Another way to get the same result is to put an .htaccess file in the domain or subdomain folder associated with the web site that you want to modify and to input several lines of program code inside it. If you need to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or prior experience.