If a certain page on a website does not load for some reason or in case a link is not working, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, that may make the visitor leave your website. A likely solution in such a case is a function made available from some web hosting companies - the option to set up your own custom-made error pages that shall have exactly the same layout as your Internet site and which could contain any text or images that you would like depending on the specific error. There are 4 common errors which may occur and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, if 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 see a specific page; and 404, when a link which you've clicked leads to a file which does not exist. In any of these scenarios, visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Website Hosting
The custom error pages function is provided with every website hosting
package we offer and you shall be able to swap all of the generic pages with your own with no more than a few clicks inside your Hepsia website hosting CP. You shall have to create the actual files and to upload them to your account, then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every web site hosted in the account independently, so that every set of custom pages shall have the very same layout as the Internet site it's part of. If necessary, you may always go back to a default page from our system or to a default Apache server page. One other way to set personalized 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 needed code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated plans
that we provide support personalized error pages and it shall not take more than several clicks inside your Hepsia website hosting Control Panel to use this function. The option is included in the Hosted Domains section of your Control Panel in which you will need to enter the links to the custom-made files through very simple drop-down menus and a user-friendly interface. Keep in mind, you must upload them inside your account before that. In case you do not want to employ this feature at some point, you can easily deactivate it just as quickly and choose an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd like to, you can also use an .htaccess file to permit the custom error pages. The file needs to have a specific line of code as well as a link for every error type and you can find an example of the entire content for all four error types in our Help section.