Whenever a page on your Internet site does not load, an error message shall be displayed to the website visitor. Because there are different errors, there are different pages that'll appear, but what's standard for all of them is that they're generic and probably shall have nothing in common with the layout of your website, which could be annoying for any site visitor. That is the reason why web hosting providers have introduced a function referred to as Custom Error Pages. For a range of different errors, site visitors will see your unique content, which could be informative or amusing, in accordance with your choice, and that will match the overall layout of your website, so the pages shall not look like they are not part of your site at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Web Hosting
When you buy a shared web hosting plan
from our company, you shall be able to set personalized error pages for your websites easily and quickly, as this function is a part of all of our solutions. As soon as you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up that will show up, you'll see drop-down options menus for all 4 types of errors and for each one of them you could pick an Apache default page, a generic page from our system or a custom made page. If you choose the third option, you should only input the URL to the file that you've uploaded and save the change. Another way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. In case you don't have preceding experience or if you're just unsure how to do that, you could simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
Incorporating your own pages for any of the four error types to any web site hosted inside a semi-dedicated server
account with us shall be very simple and won't take more than a few clicks. After you upload the files to your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You could select what page should appear for every error type. Your choices are a standard Apache server page or a page from our system, and customized pages. Should you pick the aforementioned option, you must type the link to each page in your account, then save the change. The link or the kind of page that appears in case a user encounters an error can be modified whenever you want. If you're more experienced, you can use an .htaccess file to be able to set tailor-made error pages too, instead of using our integrated generator software instrument, and in case you choose this option, the file must be placed in the root directory of a given domain or subdomain.