If a specific page on an Internet site does not load for some reason or if a link is not working, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which could make the visitor leave the website. A solution in this case is a function made available from some website hosting companies - the ability to set your own personalized error pages which will have exactly the same design and style as your Internet site and which can contain any text or images which you want depending on the specific error. There are 4 standard errors that may take place and they involve the following 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're supposed to log in to see a web page, but you haven't done this yet; 403, if you do not have a permission to view a particular page; and 404, when a link that you have clicked leads to a file which does not exist. In all of these scenarios, website visitors will be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You'll be able to set up custom error pages for each of your sites without difficulty if you use any of our shared hosting service. This could be done via the Hosted Domains section of the Hepsia Control Panel, offered with all accounts as soon as you go there, you'll be able to set your customized pages independently for any domain or subdomain. You should upload the files to your account ahead of time and input the links to them during 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 server page. Tailor-made error pages can be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it must incorporate some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content needed for the file from our Help section.
Custom Error Pages in Semi-dedicated Servers
If you host your web sites in a semi-dedicated server account with us, you'll be able to set custom error pages for any of them effortlessly using our in-house created Hepsia hosting Control Panel. With only a few mouse clicks in the Hosted Domains section, you could change the default setting from a system page to a customized one for any of the four error types. All you have to do is provide a link to every file that you've uploaded before that and then save the change. If necessary, you shall be able to revert this change at any time and in exactly the same way. If you'd like, you could use an .htaccess file as well. It has to be created/uploaded inside the domain or subdomain folder belonging to the website whose error pages you want to change and the content for this type of file can be found in our Help article about this matter.