Each time a page on your website does not load, an error message shall be displayed to the website visitor. As there are different errors, there are different pages which will show up, but what is typical for all of them is that they are generic and probably will have practically nothing in common with the design of your Internet site, which could be aggravating for any visitor. That is the reason why web hosting service providers have introduced a function known as Custom Error Pages. For a range of different errors, website visitors shall see your custom made content, which could be informative or amusing, depending on your taste, and that will match the overall style and design of your site, so the pages will not appear as if they're not part of your Internet site at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Web Hosting
If you get a cloud web hosting plan
from our company, you'll be able to set custom made error pages for your websites easily, as this function is part of all our packages. Once you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you will see drop-down menus for all four kinds of errors and for each of them you may choose an Apache default page, a generic page from our system or a custom made page. Should you select the third option, you should just type the URL to the file you have uploaded and save the change. Another way to set customized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. In case you don't have preceding experience or if you're simply not sure how to do this, you may simply copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated hosting plans
support personalized error pages, so you shall be able to use this feature for any domain or subdomain hosted in your account. All it takes to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and then to input the link to the custom-made file. You'll be able to do this separately for every error type. You shall be able to switch back to a generic error page anytime if required and the change shall take effect immediately. Another way to get the same result is to put an .htaccess file in the domain or subdomain folder associated with the web site which you would like to edit and to input a couple of lines of code within it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, hence you'll not need any programming skills or previous experience.