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

Custom Error Pages in Website Hosting

You'll be able to set up personalized error pages for each of your websites with ease if you use any of our website hosting. This can easily be done from the Hosted Domains part of the Hepsia CP, provided with all accounts and once you go there, you could 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 can be de-activated at any time and the options you'll be able to pick from are a conventional page from our system or a default Apache web server page. Personalized error pages may be set with an .htaccess file as well. 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 are not tech-savvy, you could copy the whole content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support custom made error pages, so you'll be able to use this function for any domain or subdomain hosted in your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the given domain/subdomain and to enter the link to the custom file. You are able to do this independently for each error type. You shall be able to switch back to a default error page anytime if needed and the change shall take effect right away. Another way to get the very same result is to set an .htaccess file inside the domain or subdomain folder related to the Internet site which you'd like to change and to enter a couple of lines of program code in it. If you need to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you will not need any coding skills or previous experience.