If a certain page on a site doesn't load for some reason or in case a link is not functioning, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, that could make the visitor leave the website. A likely solution in this case is a function made available from some website hosting companies - the option to set up your own custom-made error pages which will have the exact same layout as your site and which may contain any images or text that you'd like based on the specific error. There are 4 common errors which may take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done this yet; 403, if you don't have a permission to see a specific page; and 404, when a link that you have clicked leads to a file that doesn't exist. In all of these scenarios, visitors shall be able to see your customized content instead of a generic error page.
Custom Error Pages in Website Hosting
You'll be able to set up custom made error pages for all of your websites without difficulty when you use any of our website hosting. This could be done from the Hosted Domains section of the Hepsia Control Panel, which comes with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You need to upload the files to your account before you start and enter the links to them through the process. This feature can be de-activated anytime and the options you shall be able to to pick from are a standard page from our system or a default Apache server page. Custom error pages may be set with an .htaccess file as well. The file should be placed in the domain or subdomain folder and it should include some system code and links to the pages. If you're not tech-savvy, you can copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Adding your pages for each of the four error types to any site hosted from a semi-dedicated server account with us shall be very simple and will not take more than a few clicks. After you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could choose what page should appear for every single error type. The options are a default Apache web server page or a page from our system, and custom made pages. If you pick the last option, you have to input the link to every page in your account, then save the change. The link or the sort of page that will be shown in case a user encounters an error can be modified at any time. In case you are more experienced, you can use an .htaccess file to be able to set custom error pages too, as an alternative to using our integrated generator instrument, and if you select this option, the file must be positioned in the root directory of a particular domain or subdomain.