If a certain page on a site does not load for some reason or in case a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, that can make the visitor leave your website. A possible solution in this case is a function made available from some web hosting providers - the ability to set up your own custom-made error pages which will have the exact same style and design as your website and which may contain any text or images that you would like depending on the particular error. There are 4 popular errors which can take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see a web page, but you haven't done so yet; 403, if you don't have an authorization to view a particular page; and 404, if a link that you've clicked leads to a file that does not exist. In any of these scenarios, visitors shall be able to see your customized content rather than a generic error page.
Custom Error Pages in Shared Hosting
You will be able to set up personalized error pages for each of your Internet sites without difficulty when you use any of our Linux shared packages. This can be done through the Hosted Domains section of the Hepsia Control Panel, provided with all accounts and when you go there, you can set your customized pages independently for any domain or subdomain. You must upload the files to your account in advance and enter the links to them through the process. This function can be de-activated at any time and the options you will be able to pick from are a generic page from our system or a default Apache web server page. Custom error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should contain some system code and links to the pages. If you're not tech-savvy, you may copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Our Linux semi-dedicated hosting packages support customized 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 this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and then to type the link to the custom-made file. You can do this separately for every error type. You will be able to switch back to a standard error page whenever you want if necessary and the change shall take effect straightaway. A different way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder of the website that you'd like to edit and to input a few lines of program code inside it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you'll not need any coding skills or prior experience.