If a particular page on a site does not load for some reason or in case a link is not functioning, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave your website. A possible solution in cases like this is a function offered by some hosting providers - the option to set up your own custom error pages which will have exactly the same style and design as your site and which can contain any text or images which you want dependent upon the particular error. There are 4 popular errors that can take place and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you have clicked leads to a file that does not exist. In any of these scenarios, site 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 feature is available with each website hosting plan we offer and you'll be able to substitute all of the generic pages with your own with no more than just a few clicks in your Hepsia hosting CP. You'll have to produce the actual files and to upload them to your account, then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You may do this for every Internet site hosted in the account independently, so that each set of custom pages will have the exact same layout as the website it's part of. When necessary, you could always go 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 never done this before, you may simply copy the necessary code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support tailor-made error pages, so you will be able to use this function for each domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and then to input the link to the custom file. You could do this independently for each error type. You will be able to switch back to a default error page whenever you want if required and the change will take effect immediately. Another way to get the very same result is to set an .htaccess file inside the domain or subdomain folder related to the site which you want to edit and to input a few lines of code within it. If you would like to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you will not need any computer programming skills or previous experience.