If a specific page on an Internet site doesn't load for some reason or in case a link is broken, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, that could make the visitor leave the site. A solution in this case is a function made available from some website hosting companies - the ability to set up your own customized error pages that shall have identical layout as your Internet site and that may contain any text or images that you would like depending on the particular error. There are four well-known errors which may take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web 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 a web page, but you have not done so yet; 403, if you do not have an authorization to see a specific page; and 404, when a link that you've clicked leads to a file which doesn't exist. In any of these scenarios, site visitors will be able to see your personalized content rather than a generic error page.

Custom Error Pages in Shared Web Hosting

You'll be able to set up custom made error pages for all of your Internet sites effortlessly if you use any of our shared web hosting. This could be done through the Hosted Domains section of the Hepsia Control Panel, which comes with all accounts and once you go there, you can set your customized pages independently for any domain or subdomain. You have to upload the files to your account before you start and input the links to them through the process. This feature could be de-activated anytime and the options you will be able to select from are a conventional page from our system or a default Apache web server page. Custom made error pages may be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it must include some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content needed for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All of our Linux semi-dedicated servers support tailor-made error pages, thus you'll be able to employ this function for every single domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and to input the link to the custom file. You could do this separately for each error type. You'll be able to switch back to a standard error page anytime if required and the change will take effect at once. Another way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder related to the website which you'd like to edit and to type in a couple of lines of code inside it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you'll not need any computer programming skills or previous experience.