If a certain page on an Internet site does not load for some reason or in case a link is not working, the site visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the site, that may make the visitor leave your website. A possible solution in cases like this is a function made available from some website hosting providers - the option to set up your own custom-made error pages that shall have the exact same layout as your Internet site and which may contain any images or text you want depending on the specific error. There are 4 well-known errors that could take place and they involve these particular 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 some web page, 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 that you've clicked leads to a file which does not exist. In all of these situations, visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Hosting

The personalized error pages feature is available with each and every hosting plan we offer and you'll be able to swap the generic pages with your own with no more than just a few mouse clicks from your Hepsia hosting Control Panel. You'll need to develop the actual files and to upload them to your account, then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You can do this for each web site hosted inside the account separately, so that each group of customized pages will have identical style and design as the website it is part of. If necessary, you may always go back to a default page from our system or to a default Apache server page. An alternate way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you can simply copy the needed code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

Including your personal pages for any of the 4 error types to any site hosted inside a semi-dedicated server account with us will be very basic and will not take more than several mouse clicks. When you upload the files to your account, you can check out the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You may pick what page should show up for every error type. The choices are a standard Apache web server page or a page from our system, and personalized pages. Should you choose the aforementioned option, you will need to enter the link to every single page in your account, then save the change. The link or the kind of page that will be shown when a user encounters an error can be changed at any time. In case you are more experienced, you may use an .htaccess file to be able to set in-house developed error pages as well, rather than using our integrated generator tool, and in case you choose this option, the file has to be located inside the root directory of a specific domain or subdomain.