If a particular page on a site does not load for some reason or in case a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave your Internet site. A likely solution in cases like this is a function offered by some hosting service providers - the option to set up your own personalized error pages which will have identical design as your site and that can contain any images or text which you want dependent upon the particular error. There are four popular errors which may take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the server and it can't be processed; 401, in case 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 specific page; and 404, if a link that you've clicked leads to a file which does not exist. In all of these cases, site visitors shall be able to see your custom content instead of a generic error page.
Custom Error Pages in Cloud Website Hosting
You can set up custom error pages for any of your websites with ease if you use any of our cloud website hosting plans. This can be done through the Hosted Domains part of the Hepsia Control Panel, provided with all accounts as soon as 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 before you start and enter the links to them during the process. This feature could be de-activated anytime and the options you'll be able to pick from are a conventional page from our system or a default Apache server page. Customized error pages may be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must incorporate some system code and links to the pages. If you are not tech-savvy, you could copy the whole content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated plans support personalized error pages, so you shall be able to employ this feature for each and every domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the particular domain/subdomain and then to input the link to the custom file. You can do this individually for each error type. You shall be able to switch back to a generic error page anytime if needed and the change shall take effect immediately. A different way to achieve the very same result is to set an .htaccess file inside the domain or subdomain folder associated with the website which you'd like to edit and to enter several lines of program code in it. If you want to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, hence you shall not need any coding skills or prior experience.