Custom Error Pages
Learn what a Custom Error Page is, what function does it have and how to create one.
If a certain page on an Internet site does not load for some reason or in case a link is broken, 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 can make the visitor leave the website. A likely solution in this case is a feature offered by some website hosting providers - the option to set your own personalized error pages which will have the exact same style and design as your website and which could contain any text or images which you want dependent upon the specific error. There are 4 standard errors that may 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 some page, but you haven't done this yet; 403, if you don't have a permission to view a certain page; and 404, when a link that you've clicked leads to a file that does not exist. In each of these situations, site visitors will be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You'll be able to set up custom made error pages for all of your sites with ease if you use any of our Linux cloud packages
. This can easily be done using the Hosted Domains part of the Hepsia CP, which comes with all accounts as soon as you go there, you could set your customized pages independently for any domain or subdomain. You have to upload the files to your account before you start and input the links to them through the process. This function may be de-activated whenever you want and the options you will be able to choose from are a standard page from our system or a default Apache server page. Customized error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it must contain some system code and links to the pages. If you're not tech-savvy, you can copy the whole content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated hosting packages
which we supply support custom error pages and it will not take more than a few clicks in your Hepsia web hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel in which you'll have to input the links to the custom-made files through simple drop-down menus and an easy to use interface. Needless to say, you need to upload them inside your account before that. In case you don't need to use this function at some point, you will be able to deactivate it just as fast and select an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to enable the customized error pages. The file should contain a specific line of code and a link for every single error type and you can easily discover an example of the whole content for all four error types in our Help section.