If a certain page on a website 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 site, that can make the visitor leave your site. A potential solution in this case is a feature made available from some hosting providers - the ability to set up your own custom-made error pages which shall have the exact same design as your Internet site and that could contain any images or text that you'd like depending on the particular error. There are 4 standard errors that can 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 can't be processed; 401, if you are supposed to log in to see a webpage, but you haven't done so yet; 403, if you don't have a permission to view a certain page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In all of these scenarios, site visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up custom made error pages for any of your sites easily when you use any of our shared website hosting plans. This could be done from the Hosted Domains part of the Hepsia CP, which comes with all accounts as soon as you go there, you can set your customized pages independently for any domain or subdomain. You must upload the files to your account beforehand and input the links to them during the process. This feature may be de-activated anytime and the options you will 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 as well. The file should be placed in the domain or subdomain folder and it should contain some system code and links to the pages. If you are not tech-savvy, you may copy the whole content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
Our Linux semi-dedicated servers support custom made error pages, so you'll be able to employ this function for each and every 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 related to the specific domain/subdomain and to type the link to the custom-made file. You are able to do this separately for each error type. You shall be able to switch back to a generic error page anytime if necessary and the change will take effect right away. Another way to achieve the same result is to place an .htaccess file in the domain or subdomain folder of the web site which you want to edit and to input several lines of program code inside it. If you need to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, thus you shall not need any coding skills or prior experience.