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 some generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave your website. A solution in this case is a function made available from some website hosting service providers - the option to set up your own custom-made error pages which will have exactly the same style and design as your website and that can contain any text or images you want dependent upon the particular error. There are four popular errors that could occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are 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 view a particular page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In each of these situations, website visitors shall be able to see your custom content as opposed to a generic error page.

Custom Error Pages in Cloud Hosting

You will be able to set up customized error pages for any of your domains or subdomains. The function is supported by all cloud hosting solutions which we offer, so once you log in to your Hepsia Control Panel and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the sort of error page which should appear - a default one from our system, a typical Apache web server page or a custom one. For the last mentioned option, you have to assign the URL to the page, so if you use custom made pages, you should upload the files in your web hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each error type. The exact syntax can be located in our Knowledge Base, so you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All semi-dedicated hosting packages that we offer support personalized error pages and it shall not take more than a few mouse clicks from your Hepsia website hosting Control Panel to use this function. The option can be found in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files using simple drop-down menus and a time and effort saving interface. Needless to say, you must upload them in your account before that. In case you do not want to use this function at some point, you could deactivate it just as easily and choose an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you prefer, you can also use an .htaccess file to enable the custom error pages. The file has to contain a particular line of code and a link for each and every error type and you can discover an example of the entire content for all four error types in our Help section.