If a certain page on a website doesn't load for some reason or in case a link is broken, the website visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your Internet site. A potential solution in cases like this is a function made available from some hosting providers - the ability to set your own personalized error pages that will have the same layout as your site and which can contain any images or text that you'd like based on the particular error. There are 4 well-known errors which can occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some webpage, but you have not done so yet; 403, if you don't have an authorization to view a specific page; and 404, when a link that you've clicked leads to a file that doesn't exist. In each of these situations, website visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Hosting

The custom made error pages feature is provided with every single shared hosting plan which we offer and you shall be able to replace all the generic pages with your own with no more than several clicks inside your Hepsia website hosting Control Panel. You shall have to produce the actual files and to upload them to your account, then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every site hosted inside the account separately, so that every set of customized pages will have the exact same layout as the website it's part of. If needed, you can always return back to a default page from our system or to the default Apache server page. A different way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you never done this before, you can simply copy the necessary program code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated packages which we provide support custom error pages and it shall not take more than several mouse clicks in your Hepsia web hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your CP where you will have to enter the links to the custom-made files using very simple drop-down menus and an easy to use interface. Keep in mind, you should upload them to your account before that. In case you do not need to employ this function at some point, you could disable it just as fast and pick an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you'd like to, you can also use an .htaccess file to activate the custom made error pages. The file needs to include a particular line of code plus a link for every single error type and you can easily discover an example of the whole content for all four error types in our Help section.