If a particular page on an Internet site does not load for some reason or if a link is not functioning, the visitor will 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 the site. A potential solution in cases like this is a function made available from some website hosting providers - the ability to set up your own personalized error pages that shall have the same design as your site and that could contain any images or text which you want depending on the particular error. There are four well-known errors which could occur and they involve these 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're supposed to log in to see a page, but you have not done this yet; 403, if you don't have a permission to view a particular page; and 404, if a link that you've clicked leads to a file which doesn't exist. In each of these situations, visitors will be able to see your personalized content instead of a generic error page.
Custom Error Pages in Web Hosting
You can set up custom error pages for all of your Internet sites without difficulty when you use any of our web hosting plans. This can be done using the Hosted Domains part of the Hepsia CP, provided with all accounts as soon as you go there, you can set your customized pages independently for any domain or subdomain. You have to upload the files to your account beforehand and enter the links to them during the process. This function may be de-activated whenever you want and the options you will be able to select from are a conventional page from our system or a default Apache web server page. Personalized error pages can be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it must contain some system code and links to the pages. If you aren't tech-savvy, you could copy the whole content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated plans support custom made error pages, so you shall be able to employ this feature for every single domain or subdomain hosted inside 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 linked to the particular domain/subdomain and then to type the link to the custom file. You are able to do this independently for each and every error type. You shall be able to switch back to a generic error page anytime if needed and the change shall take effect immediately. Another way to get the exact same result is to set an .htaccess file in the domain or subdomain folder of the web site which you want to modify and to input several lines of program code within it. If you would like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you won't need any programming skills or prior experience.