If a particular page on a site does not load for some reason or in case a link is not working, the website 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 site. A likely solution in cases like this is a feature made available from some hosting providers - the option to set your own personalized error pages that will have exactly the same design and style as your Internet site and which may contain any text or images that you would like based on the specific error. There are 4 standard errors that can occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you have not done this yet; 403, if you don't have an authorization to see a specific page; and 404, if a link that you've clicked leads to a file which does not exist. In all of these scenarios, site visitors shall be able to see your custom content rather than a generic error page.

Custom Error Pages in Web Hosting

If you get a Linux web hosting package from our company, you shall be able to set customized error pages for your sites easily and quickly, as this function is a part of all of our solutions. The moment you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will appear, you shall see drop-down menus for all 4 types of errors and for each of them you could select an Apache default page, a generic page from our system or a personalized page. If you choose the third option, you should just enter the URL to the file you have uploaded and save the change. One other way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add several lines of program code in it. If you do not have preceding experience or if you are just unsure how to do that, you can just copy and paste the code from our Knowledge Base article on that topic.

Custom Error Pages in Semi-dedicated Hosting

Including your pages for any of the 4 error types to any Internet site hosted through a semi-dedicated server account with us shall be very uncomplicated and shall not take more than several mouse clicks. Once you upload the files in your account, you can check out the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can choose what page should appear for each error type. The choices are a default Apache web server page or a page from our system, and custom made pages. Should you pick the abovementioned option, you will need to enter the link to each page inside your account, then save the change. The link or the kind of page which will be shown when a user encounters an error can be modified at any time. If you're more experienced, you can use an .htaccess file to set in-house made error pages too, rather than using our integrated generator instrument, and in case you pick this option, the file needs to be placed inside the root directory of a particular domain or subdomain.