If a particular page on a website doesn't load for some reason or if a link is not working, the site visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which can make the visitor leave your website. A possible solution in such a case is a function made available from some hosting companies - the ability to set up your own custom error pages that shall have the exact same layout as your website and that may contain any images or text that you'd like based on the particular error. There are 4 standard errors that could occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see a webpage, but you have not done this yet; 403, if you don't have an authorization to view a specific page; and 404, if a link that you've clicked leads to a file which does not exist. In each of these scenarios, site visitors will be able to see your personalized content rather than a generic error page.
Custom Error Pages in Cloud Website Hosting
You shall be able to set up custom made error pages for each of your domains or subdomains. The function is supported by all cloud website hosting plans 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 which will show up, you can choose the sort of error page which should appear - a default one from our system, a conventional Apache server page or a customized one. For the latter option, you must specify the URL to the page, so if you use custom made pages, you need to upload the files in your hosting account first. An alternative way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The precise syntax can be located in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All of the semi-dedicated hosting services that we offer support personalized error pages and it shall not take more than a couple of mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your Control Panel where you will need to type in the links to the custom-made files via very simple drop-down menus and a user-friendly interface. Needless to say, you should upload them inside your account before that. In case you don't need to use this feature at some point, you will be able to disable it just as quickly 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 may also use an .htaccess file to enable the custom made error pages. The file has to have a particular line of code plus a link for every error type and you can easily discover an example of the whole content for all four error types in our Help section.