If a page on your website doesn't load, an error message will be shown to the site visitor. Since there are different errors, there are different pages that'll display, but what's common for all of them is that they're generic and probably shall have nothing that is similar to the layout of your website, which can be aggravating for any website visitor. That is the main reason why hosting service providers have introduced a feature named Custom Error Pages. For a number of different errors, visitors shall see your custom content, which can be informative or amusing, in accordance with your personal preference, and which shall match the overall design and style of your Internet site, so the pages won't appear as if they are not part of your site at all. You could use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

When you purchase a website hosting plan from us, you'll be able to set personalized error pages for your sites easily and quickly, as this feature is part of all our packages. The moment you've created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the specific domain or subdomain. In the pop-up that will show up, you'll see drop-down menus for all four kinds of errors and for each of them you can choose an Apache default page, a generic page from our system or a tailor-made page. Should you select the 3rd option, you should only input the URL to the file that you've uploaded then save the change. One other way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. In case you don't have prior experience or if you're simply unsure how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated hosting plans support custom made error pages, so you shall be able to use this function for each domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the particular domain/subdomain and then to enter the link to the custom file. You are able to do this individually for every error type. You shall be able to switch back to a generic error page anytime if necessary and the change will take effect right away. Another way to get the very same result is to place an .htaccess file inside the domain or subdomain folder associated with the website which you want to edit and to enter several lines of code in it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you won't need any coding skills or previous experience.