If a particular page on a website doesn't load for some reason or in case a link is not working, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave the website. A likely solution in such a case is a function offered by some web hosting providers - the option to set up your own personalized error pages that shall have identical design as your Internet site and which may contain any text or images that you'd like depending on the specific error. There are four well-known errors which can take place and they involve the following so-called HTTP status codes - 400, when your web 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 some webpage, but you have not done this yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link that you've clicked leads to a file that does not exist. In each of these cases, site visitors shall be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You can set up personalized error pages for each of your domains or subdomains. The feature is supported by all shared hosting solutions which we offer, so as soon as you log in to the Hepsia CP and check out the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you may choose the sort of error page which should show up - a default one from our system, a standard Apache server page or a custom one. For the last mentioned option, you must specify the URL to the page, so when you use custom pages, you must upload the files in your Internet hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The exact syntax can be found in our Knowledge Base, to help you use this feature even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of the Linux semi-dedicated servers that we offer support personalized error pages and it shall not take more than a few clicks in your Hepsia hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your CP in which you'll have to enter the links to the custom-made files through very simple drop-down menus and a time and effort saving interface. Keep in mind, you must upload them in your account before that. If you don't want to use this function at some point, you can deactivate it just as quickly and select an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to permit the custom error pages. The file should contain a specific line of code as well as a link for each error type and you can easily discover an example of the entire content for all four error types in our Help section.