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

Custom Error Pages in Website Hosting

You can set up custom made error pages for each of your domains or subdomains. The function is supported by all website hosting package which we offer, so as soon as you log in to the Hepsia CP and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will show up, you could choose the kind of error page which should appear - a default one from our system, a standard Apache server page or a custom one. For the aforementioned option, you need to assign the URL to the page, so if you use custom made pages, you need to upload the files in your hosting account first. One other way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting packages that we offer support personalized error pages and it will not take more than several clicks in your Hepsia web hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your Control Panel in which you'll need to type in the links to the custom-made files via simple drop-down menus and a user-friendly interface. Needless to say, you should upload them to your account before that. If you do not want to employ this function at some point, you can deactivate it just as fast and choose an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd prefer, you can also use an .htaccess file to activate the custom made error pages. The file has to contain a specific line of code as well as a link for each error type and you can find an example of the entire content for all four error types in our Help section.