Custom Error Pages
Learn more about website error pages, precisely when they show up and why you should make use of customized error pages.
If a particular page on an Internet site doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which could make the visitor leave your website. A possible solution in this case is a function made available from some website hosting companies - the option to set your own custom error pages which will have the same style and design as your Internet site and which can contain any text or images that you'd like depending on the specific error. There are four common errors that may take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some page, but you have not done this yet; 403, if you don't have an authorization to view a particular page; and 404, if a link that you've clicked leads to a file which does not exist. In all of these situations, visitors shall be able to see your personalized content rather than a generic error page.
-
Custom Error Pages in Cloud Hosting
You shall be able to set up custom error pages for any of your domains or subdomains. The function is supported by all
cloud hosting solutions that we offer, so after you log in to your Hepsia CP and go to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will appear, you may choose the kind of error page that should show up - a default one from our system, a typical Apache server page or a custom one. For the aforementioned alternative, you'll have to assign the URL to the page, so when you use custom made pages, you have to upload the files inside your web hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for each and every error type. The precise syntax can be located 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
All
Linux semi-dedicated packages which we provide support tailor-made error pages and it will not take more than several mouse clicks from your Hepsia hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your Control Panel where you'll have to type in the links to the custom-made files via simple drop-down menus and a user-friendly interface. Of course, you need to upload them in your account before that. In case you don't want to use this function at some point, you could deactivate it just as fast and choose an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you'd prefer, you could also use an .htaccess file to activate the custom made error pages. The file has to contain a specific line of code and a link for each and every error type and you can easily discover an example of the entire content for all four error types in our Help section.