If a specific page on an Internet site does not load for some reason or if a link is not functioning, the website visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave the site. A solution in cases like this is a function offered by some web hosting service providers - the ability to set your own customized error pages which will have the exact same design as your Internet site and which can contain any images or text which you want based on the specific error. There are four popular errors that can occur and they involve these particular so-called HTTP status codes - 400, when your 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 some webpage, but you have not done this yet; 403, if you don't have an authorization to view a specific page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In any of these situations, site visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Cloud Hosting
You shall be able to set up customized error pages for all of your domains or subdomains. The feature is supported by all cloud hosting solutions that we provide, so when you log in to your Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up which will show up, you can select the type of error page that should appear - a default one from our system, a typical Apache web server page or a personalized one. For the latter option, you have to assign the URL to the page, so when you use customized pages, you must upload the files in your website hosting account first. Another way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The actual syntax can be seen in our Knowledge Base, so you can use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
When you host your web sites in a semi-dedicated server account with our company, you could set tailor-made error pages for each of them easily through our custom Hepsia hosting CP. With just several mouse clicks in the Hosted Domains section, you could change the default setting from a system page to a tailor-made one for each of the four error types. All you need to do is provide a link to every single file that you have uploaded before that and then save the change. If required, you'll be able to revert this change at any time and in exactly the same way. If you would like, you could use an .htaccess file as well. It must be created/uploaded inside the domain or subdomain folder associated with the site whose error pages you would like to change and the content for this kind of file can be found in our Help article about this matter.