If a specific page on a website doesn't load for some reason or if a link is not functioning, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the Internet site, which could make the visitor leave your site. 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 which shall have identical design as your Internet site and that can contain any text or images you want dependent upon the particular error. There are four popular errors which could take place and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see a web page, but you haven't done this yet; 403, if you don't have an authorization to view a particular page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In each of these cases, website visitors shall be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Website Hosting

If you purchase a shared website hosting from our company, you will be able to set custom made error pages for your sites quickly and easily, since this feature is a part of all of our packages. The moment you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will show up, you will see drop-down options menus for all four kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a personalized page. In case you select the third option, you should simply enter the URL to the file you have uploaded then save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. If you don't have prior experience or if you're simply not sure how to do that, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Adding your pages for any of the 4 error types to any site hosted through a semi-dedicated server account with us will be really uncomplicated and shall not take more than several clicks. When you upload the files inside your account, you can navigate to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down menus. You may choose what page should appear for every error type. The alternatives are a default Apache server page or a page from our system, and tailor-made pages. Should you pick the last option, you need to enter the link to every single page inside your account, then save the change. The link or the type of page which will be shown when a user encounters an error can be modified whenever you want. If you are more experienced, you could use an .htaccess file so as to set personalized error pages too, rather than using our integrated generator tool, and in case you select this option, the file has to be placed in the root directory of a given domain or subdomain.