If a particular page on a website doesn't load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, that may make the visitor leave your site. A potential solution in such a case is a function made available from some hosting service providers - the ability to set up your own customized error pages that will have exactly the same style and design as your website and that could contain any text or images that you'd like based on the specific error. There are four well-known errors which could take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, if you're 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 specific page; and 404, when a link which you have clicked leads to a file that does not exist. In all of these situations, site visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Shared Web Hosting

You will be able to set up customized error pages for all of your Internet sites easily if you use any of our Linux shared web hosting packages. This can be done from the Hosted Domains section of the Hepsia CP, offered with all accounts and once you go there, you'll be able to set your custom made pages independently for any domain or subdomain. You should upload the files to your account beforehand and input the links to them during the process. This function could be de-activated at any time and the options you shall be able to to select from are a conventional page from our system or a default Apache server page. Custom error pages could be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it should include some system code and links to the pages. If you aren't tech-savvy, you may copy the whole content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated hosting packages support customized error pages, so you'll be able to employ this function for each and every domain or subdomain hosted in 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 associated with the particular domain/subdomain and to type the link to the custom file. You'll be able to do this independently for each error type. You shall be able to switch back to a generic error page whenever you want if needed and the change shall take effect straightaway. A different way to achieve the same exact result is to put an .htaccess file in the domain or subdomain folder related to the Internet site that you would like to edit and to enter a few lines of code within it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, therefore you won't need any coding skills or previous experience.