If a specific page on a site does not load for some reason or in case a link is broken, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave your site. A potential solution in such a case is a function made available from some web hosting service providers - the option to set up your own custom error pages that shall have exactly the same style and design as your website and that could contain any text or images which you want depending on the particular error. There are 4 well-known errors which may take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see a web page, but you have not done so yet; 403, if you do not have an authorization to see a certain page; and 404, in case a link which you have clicked leads to a file that does not exist. In all of these cases, website visitors shall be able to see your customized content instead of a generic error page.

Custom Error Pages in Shared Website Hosting

You will be able to set up custom error pages for each of your websites effortlessly when you use any of our Linux shared website hosting plans. This could be done using the Hosted Domains section of the Hepsia Control Panel, offered with all accounts and when you go there, you can set your custom pages independently for any domain or subdomain. You have to upload the files to your account beforehand and input the links to them through the process. This feature can be de-activated at any time and the options you shall be able to to pick from are a generic page from our system or a default Apache server page. Tailor-made error pages can be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it should incorporate some system code and links to the pages. If you are not tech-savvy, you may copy the whole content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated servers support personalized error pages, so you shall be able to use this feature for each domain or subdomain hosted in your account. All it will take to do that is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the particular domain/subdomain and then to type in the link to the custom file. You'll be able to do this separately for each error type. You'll be able to switch back to a standard error page anytime if needed and the change shall take effect immediately. An alternative way to achieve the exact same result is to set an .htaccess file inside the domain or subdomain folder of the site which you'd like to modify and to enter a few lines of program code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, so you shall not need any coding skills or prior experience.