If a particular page on a site doesn't load for some reason or if a link is broken, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, that can make the visitor leave your Internet site. A solution in this case is a feature made available from some hosting service providers - the ability to set up your own personalized error pages that will have identical layout as your website and that could contain any text or images that you'd like depending on the specific error. There are 4 popular errors which may occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see some webpage, but you have not done so yet; 403, if you do not have an authorization to see a specific page; and 404, when a link which you've clicked leads to a file which doesn't exist. In all of these scenarios, visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You will be able to set up personalized error pages for each of your websites without difficulty when you use any of our Linux shared hosting. This could be done using the Hosted Domains part of the Hepsia Control Panel, offered with all accounts as soon as you go there, you'll be able to set your personalized pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and input the links to them through the process. This function could be de-activated whenever you want and the options you shall be able to to select from are a standard page from our system or a default Apache web server page. Personalized error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you may copy the entire content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated servers support personalized error pages, so you will be able to employ this function for every single domain or subdomain hosted inside your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the given domain/subdomain and to input the link to the custom file. You can do this independently for each error type. You shall be able to switch back to a default error page at any time if necessary and the change will take effect at once. An alternative way to get the same exact result is to place an .htaccess file inside the domain or subdomain folder related to the website that you want to edit and to type in a few lines of program code in 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, which means that you'll not need any programming skills or prior experience.