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

Custom Error Pages in Shared Website Hosting

You will be able to set up custom made error pages for all of your sites without difficulty when you use any of our shared website hosting services. This can be done using the Hosted Domains section of the Hepsia CP, offered with all accounts and when you go there, you'll be able to set your customized pages independently for any domain or subdomain. You have to upload the files to your account in advance and enter the links to them through the process. This feature can be de-activated at any time and the options you'll be able to select from are a conventional page from our system or a default Apache web server page. Custom error pages could be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you may copy the whole content required for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

All our Linux semi-dedicated hosting support customized error pages, thus you'll be able to use this function for each domain or subdomain hosted in your account. All it takes to do this is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You could do this separately for every error type. You'll be able to switch back to a default error page whenever you want if needed and the change will take effect straightaway. A different way to achieve the same result is to set an .htaccess file in the domain or subdomain folder related to the website which you'd like to change and to input several 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, thus you won't need any computer programming skills or previous experience.