If a specific page on an Internet site does not 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 will have nothing in common with the rest of the website, that could make the visitor leave your website. A likely solution in such a case is a feature made available from some web hosting service providers - the option to set up your own custom error pages which shall have the same design as your website and which may contain any images or text which you want based on the specific error. There are 4 common errors which could occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see some webpage, but you have not done so yet; 403, if you do not have an authorization to see a certain page; and 404, if a link that you have clicked leads to a file which doesn't exist. In each of these situations, site visitors will be able to see your custom content instead of a generic error page.

Custom Error Pages in Shared Web Hosting

You can set up customized error pages for all of your websites easily when you use any of our Linux shared web hosting plans. This can easily be done via the Hosted Domains section of the Hepsia CP, offered with all accounts and once you go there, you can set your custom made pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and enter the links to them during the process. This function could be de-activated anytime and the options you'll be able to select from are a generic page from our system or a default Apache web server page. Custom error pages could be set with an .htaccess file too. 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 are not tech-savvy, you can copy the entire content necessary for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All our Linux semi-dedicated plans support personalized error pages, so you shall be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the particular domain/subdomain and to enter the link to the custom-made file. You are able to do this individually for every error type. You will be able to switch back to a generic error page whenever you want if necessary and the change will take effect immediately. Another way to achieve the same result is to put an .htaccess file inside the domain or subdomain folder of the website which you want to modify and to enter a couple of lines of code inside it. If you want to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, therefore you will not need any computer programming skills or previous experience.