If a particular page on a site doesn't load for some reason or in case a link is not functioning, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that may make the visitor leave the website. A potential solution in cases like this is a function offered by some hosting service providers - the ability to set your own personalized error pages which shall have the exact same style and design as your Internet site and that could contain any text or images which you want dependent upon the particular error. There are four well-known errors which may occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a page, but you have not done so yet; 403, if you do not have an authorization to view a particular page; and 404, if a link which you've clicked leads to a file which does not exist. In all of these scenarios, visitors shall be able to see your custom content instead of a generic error page.

Custom Error Pages in Shared Hosting

If you acquire a shared hosting plan from us, you'll be able to set custom made error pages for your Internet sites easily, because this feature is a part of all our packages. After you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you will see drop-down menus for all four types of errors and for each of them you may choose an Apache default page, a generic page from our system or a tailor-made page. If you select the third option, you should just input the URL to the file that you have uploaded and save the change. Another way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you do not have previous experience or if you are simply uncertain how to do that, you can simply copy/paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Servers

Adding your own pages for any of the four error types to any Internet site hosted from a semi-dedicated server account with us will be really easy and won't take more than a few mouse clicks. Once you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You can choose what page should appear for each and every error type. The options are a default Apache web server page or a page from our system, and custom pages. Should you choose the last option, you have to enter the link to every single page inside your account, then save the change. The link or the type of page that appears when a user encounters an error can be changed whenever you want. In case you are more experienced, you could use an .htaccess file in order to set personalized error pages as well, rather than using our integrated generator software instrument, and if you pick this option, the file needs to be placed inside the root directory of a specific domain or subdomain.