If a specific page on a site doesn't load for some reason or in case a link is not functioning, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your Internet site. A potential solution in such a case is a function made available from some hosting companies - the ability to set your own customized error pages which will have exactly the same layout as your website and which could contain any images or text which you want based on the particular error. There are four common errors which may take place 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, if you're supposed to log in to see some web page, but you have not done this yet; 403, if you don't have a permission to see a specific page; and 404, if a link that you have clicked leads to a file which doesn't exist. In all of these scenarios, site visitors shall be able to see your custom made content rather than 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 Internet sites with ease if you use any of our Linux shared website hosting packages. This could be done from the Hosted Domains section of the Hepsia CP, which comes with all accounts and once you go there, you can set your custom made pages independently for any domain or subdomain. You have to upload the files to your account beforehand and input the links to them during the process. This function could be de-activated whenever you want and the options you will be able to choose from are a standard page from our system or a default Apache web server page. Custom made error pages can be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it must contain some system code and links to the pages. If you are not tech-savvy, you may copy the entire content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Hosting

Our Linux semi-dedicated packages support personalized error pages, so you'll be able to employ this function for every single 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 on the Edit button related to the particular domain/subdomain and to type in the link to the custom file. You could do this independently for each error type. You shall be able to switch back to a standard error page at any time if needed and the change will take effect at once. An alternative way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder associated with the web site which you would like to modify and to input a couple of lines of code inside it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you shall not need any coding skills or prior experience.