Custom Error Pages
Get familiar with website error pages. Learn when they show up and why you need to set up your individual custom error pages.
If a certain page on an Internet site does not load for some reason or in case a link is broken, the visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that can make the visitor leave your website. A solution in this case is a feature offered by some hosting providers - the option to set up your own customized error pages which will have identical design and style as your Internet site and that may contain any images or text that you would like based on the particular error. There are four common errors which may take place 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 cannot be processed; 401, if you are supposed to log in to see a page, but you haven't done this yet; 403, if you don't have a permission to view a certain page; and 404, in case a link which you have clicked leads to a file that doesn't exist. In all of these situations, website visitors shall be able to see your custom made content as opposed to a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all shared website hosting
plans that we offer, so after you log in to the Hepsia Control Panel and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will show up, you may choose the type of error page which should appear - a default one from our system, a standard Apache web server page or a custom one. For the last mentioned option, you need to specify the URL to the page, so when you use custom made pages, you need to upload the files in your hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The exact 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 Servers
All semi-dedicated plans
that we provide support personalized error pages and it will not take more than a few clicks inside your Hepsia web hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your CP in which you will need to type in the links to the custom-made files using very simple drop-down menus and a time and effort saving interface. Keep in mind, you need to upload them to your account before that. If you don't want to employ this feature at some point, you can easily deactivate it just as fast and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to permit the custom made error pages. The file needs to contain a specific line of code and a link for every single error type and you may find an example of the entire content for all four error types in our Help section.