If a specific page on an Internet site does not load for some reason or in case a link is not working, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave the website. A possible solution in such a case is a function offered by some hosting providers - the ability to set your own custom-made error pages which shall have identical design as your Internet site and which can contain any text or images you want depending on the particular error. There are four standard errors which may take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see some page, but you have not done so yet; 403, if you don't have an authorization to view a particular page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In all of these scenarios, website visitors shall be able to see your custom made content instead of a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up customized error pages for any of your domains or subdomains. The function is supported by all shared website hosting solutions that we provide, so after you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you could pick the type of error page that should show up - a default one from our system, a standard Apache server page or a custom one. For the aforementioned option, you will need to specify the URL to the page, so when you use personalized pages, you have to upload the files inside your Internet hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The exact syntax can be found 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 Servers
All semi-dedicated hosting service that we provide support custom made error pages and it will not take more than several mouse clicks from your Hepsia web hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your Control Panel in which you'll need to type in the links to the custom-made files via very simple drop-down menus and an easy to use interface. Keep in mind, you must upload them inside your account before that. If you do not want to employ this feature at some point, you will be able to disable it just as easily and pick an Apache server page or a default page from our system to be viewable when your visitors encounter an error. If you prefer, you could also use an .htaccess file to permit the personalized error pages. The file should have a specific 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.