If a certain page on an Internet site does not load for some reason or if a link is not working, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your Internet site. A solution in cases like this is a function made available from some web hosting providers - the option to set your own personalized error pages which will have identical layout as your site and which could contain any images or text you want dependent upon the specific error. There are 4 common errors that could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you do not have an authorization to see a certain page; and 404, in case a link which you've clicked leads to a file that does not exist. In each of these situations, site visitors shall be able to see your customized content rather than a generic error page.
Custom Error Pages in Shared Website Hosting
The customized error pages function is provided with each shared website hosting plan we offer and you will be able to replace all of the generic pages with your own with no more than just a few mouse clicks inside your Hepsia website hosting Control Panel. You shall have to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each website hosted in the account individually, so that each group of custom made pages will have the very same layout as the site it is part of. If necessary, you can always go back to a default page from our system or to the default Apache server page. An alternate way to set custom error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you could simply copy the needed code from our Help article about this.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your own pages for each of the 4 error types to any Internet site hosted in a semi-dedicated server account with us shall be very uncomplicated and won't take more than a few mouse clicks. After you upload the files in your account, you could check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You may select what page should appear for each and every error type. The choices are a standard Apache server page or a page from our system, and personalized pages. In case you choose the aforementioned option, you need to type the link to each page in your account, then save the change. The link or the kind of page that appears if a user encounters an error can be changed anytime. If you're more experienced, you could use an .htaccess file to set personalized error pages too, rather than using our integrated generator tool, and if you pick this option, the file must be placed inside the root directory of a given domain or subdomain.