If a certain page on a website does not load for some reason or in case a link is broken, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave the website. A solution in cases like this is a feature made available from some hosting service providers - the option to set up your own custom error pages that will have identical design and style as your site and that can contain any text or images that you'd like depending on the particular error. There are 4 standard errors that may take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see a webpage, but you have not done this yet; 403, if you do not have a permission to view a specific page; and 404, if a link which you've clicked leads to a file which doesn't exist. In each of these cases, website visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Website Hosting

The custom error pages function is available with every website hosting package we offer and you'll be able to replace all generic pages with your own with no more than several clicks from your Hepsia website hosting Control Panel. You shall need to create the actual files and to upload them to your account, then to set them for a given domain or subdomain through the Hosted Domains section of the Hepsia CP. You can do this for every web site hosted inside the account individually, so that every set of customized pages will have the very same design as the Internet site it is part of. If needed, you can always go back to a default page from our system or to the default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you could simply copy the required code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

All of the Linux semi-dedicated hosting service which we provide support personalized error pages and it will not take more than several clicks from your Hepsia hosting Control Panel to use this function. The option can be found in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files through basic drop-down menus and a user-friendly interface. Of course, you should upload them inside your account before that. If you don't want to employ this feature at some point, you can easily disable it just as fast and choose an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd like to, you may also use an .htaccess file to activate the customized error pages. The file has to contain a particular line of code and a link for each and every error type and you can easily find an example of the entire content for all four error types in our Help section.