Whenever a page on your website does not load, an error message will be shown to the visitor. Since there are different errors, there are different pages which will appear, but what is common for all of them is that they are generic and probably will have practically nothing in common with the design of your site, which could be annoying for any visitor. This is the reason why hosting service providers have introduced a feature known as Custom Error Pages. For a range of different errors, site visitors shall see your customized content, which can be informative or amusing, depending on your personal preference, and which will match the design of your website, so the pages will not seem like they're not part of your site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Cloud Hosting
If you acquire a cloud hosting plan from our company, you'll be able to set personalized error pages for your websites quickly and easily, because this feature is part of all our plans. After you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you shall see drop-down options menus for all four types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a custom made page. In case you pick the third option, you should only input the URL to the file you have uploaded and save the change. Another way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. In case you don't have prior experience or if you are simply unsure how to do this, you can simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All our semi-dedicated hosting plans support customized error pages, so you will be able to use this function for any domain or subdomain hosted inside your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click on the Edit button associated with the specific domain/subdomain and to type in the link to the custom file. You'll be able to do this independently for each and every error type. You will be able to switch back to a standard error page whenever you want if needed and the change will take effect straightaway. An alternative way to get the same exact result is to place an .htaccess file inside the domain or subdomain folder related to the site which you'd like to change and to type in a few lines of code inside it. If you want to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, hence you will not need any computer programming skills or previous experience.