If a specific page on a site does not load for some reason or if a link is not working, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave the website. A possible solution in this case is a feature offered by some hosting providers - the option to set up your own custom error pages which shall have the same style and design as your site and which can contain any images or text that you'd like based on the particular error. There are four common errors which could occur and they involve these 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 have not done so yet; 403, if you do not have an authorization to see a particular page; and 404, if a link which you've clicked leads to a file which doesn't exist. In any of these scenarios, visitors shall be able to see your customized content rather than a generic error page.
Custom Error Pages in Web Hosting
You will be able to set up custom made error pages for all of your websites with ease when you use any of our Linux web hosting. This could be done using the Hosted Domains part of the Hepsia CP, offered with all accounts as soon as you go there, you can set your custom pages independently for any domain or subdomain. You have to upload the files to your account beforehand and enter the links to them during the process. This function could be de-activated at any time and the options you will be able to select from are a generic page from our system or a default Apache web server page. Personalized error pages may be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it must incorporate some system code and links to the pages. If you're not tech-savvy, you can copy the whole content required for the file from our Help section.