If a particular page on a website does not load for some reason or in case a link is not functioning, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your site. A solution in cases like this is a function made available from some hosting providers - the option to set your own custom-made error pages that shall have the exact same design and style as your website and which could contain any images or text you want based on the specific error. There are four common 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 cannot be processed; 401, if you are supposed to log in to see some web page, but you haven't done this yet; 403, if you do not have an authorization to see a particular page; and 404, when a link which you've clicked leads to a file which does not exist. In all of these scenarios, site visitors will be able to see your customized content instead of a generic error page.
Custom Error Pages in Cloud Hosting
You'll be able to set up customized error pages for any of your websites with ease if you use any of our Linux cloud packages. This can easily be done using the Hosted Domains section of the Hepsia Control Panel, which comes with all accounts and once you go there, you'll be able to set your custom pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and enter the links to them through the process. This feature can be de-activated whenever you want and the options you will be able to select from are a generic page from our system or a default Apache server page. Customized error pages could 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 are not tech-savvy, you could copy the whole content necessary for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated hosting packages support custom error pages, thus you'll be able to use this feature for each and every domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and to enter the link to the custom-made file. You'll be able to do this individually for each and every error type. You will be able to switch back to a generic error page whenever you want if needed and the change will take effect instantly. Another way to get the same exact result is to set an .htaccess file in the domain or subdomain folder associated with the web site which you would like to modify and to input a few lines of code within it. If you would like to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you won't need any computer programming skills or previous experience.