If a particular page on a site doesn't load for some reason or if a link is broken, the visitor shall 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 website. A possible solution in this case is a function made available from some hosting service providers - the ability to set up your own personalized error pages that will have the exact same design and style as your website and that may contain any text or images that you'd like dependent upon the particular error. There are 4 standard errors which could occur and they involve these so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see some web page, but you have not done so yet; 403, if you don't have a permission to see a specific page; and 404, when a link which you've clicked leads to a file that doesn't exist. In each of these situations, website visitors shall be able to see your personalized content as opposed to a generic error page.

Custom Error Pages in Website Hosting

The personalized error pages function is provided with every single website hosting package deal we offer and you shall be able to substitute all generic pages with your own with no more than just a few clicks in your Hepsia hosting Control Panel. You'll have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every Internet site hosted inside the account individually, so that each set of customized pages shall have identical layout as the website it's part of. If required, you may always revert back to a default page from our system or to the default Apache server page. Another way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you have not done this before, you can simply copy the necessary code from our Help article about this.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting services support custom made error pages, so you'll be able to use this feature for any domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and to type in the link to the custom file. You could do this separately for every error type. You shall be able to switch back to a standard error page whenever you want if necessary and the change will take effect right away. A different way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder of the Internet site which you'd like to change and to enter several lines of program code inside it. If you want to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or prior experience.