Custom Error Pages
Find out what a Custom Error Page is, what function does it have and how to make one.
If a specific page on a website doesn't load for some reason or if a link is broken, the visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that could make the visitor leave the website. A likely solution in cases like this is a function offered by some hosting providers - the ability to set your own customized error pages which shall have the exact same layout as your site and which could contain any images or text you want depending on the particular error. There are four popular errors which may occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see a webpage, but you haven't done this yet; 403, if you don't have a permission to see a particular page; and 404, if a link that you've clicked leads to a file which doesn't exist. In any of these scenarios, website visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Web Hosting
The custom made error pages feature is available with every web hosting
plan that we offer and you'll be able to substitute all the generic pages with your own with no more than several clicks inside your Hepsia website hosting Control Panel. You shall have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You can easily do this for every web site hosted in the account independently, so that each set of customized pages shall have the same layout as the site it is part of. When necessary, you could always revert back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you may simply copy the needed program code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
When you host your websites in a semi-dedicated server
account with our company, you can set tailor-made error pages for each of them easily using our custom Hepsia hosting CP. With only a couple of mouse clicks inside the Hosted Domains section, you can modify the default setting from a system page to a customized one for each of the 4 error types. All you must do is provide a link to each file that you have uploaded before that and then save the change. If required, you'll be able to revert this modification 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 in the domain or subdomain folder associated with the site whose error pages you want to modify and the content for this kind of file can be found in our Help article on this matter.