Custom Error Pages
Take a plunge into website error pages. Learn when they show up and why you should make your own custom error pages.
If a page on your site does not load, an error message will be displayed to the website visitor. Because there are different errors, there are different pages that will display, but what's typical for all of them is that they are generic and probably will have practically nothing that resembles the design of your site, which could be irritating for any site visitor. That is the main reason why web hosting service providers have introduced a feature called Custom Error Pages. For a number of different errors, visitors shall see your customized content, which may be informative or witty, based on your taste, and that will match the design and style of your website, so the pages shall not appear as if they're not part of your website 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 Web Hosting
When you obtain a
web hosting from us, you will be able to set custom made error pages for your Internet sites easily, because this function is a part of all of our solutions. After you have created the files and uploaded them to your web 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 will see drop-down options menus for all 4 sorts of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom made page. In case you choose the third option, you should simply type the URL to the file which you have uploaded and save the change. A different way to set custom error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you do not have preceding experience or if you are simply uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that topic.
-
Custom Error Pages in Semi-dedicated Servers
All our
semi-dedicated servers support custom error pages, so you will be able to use this feature for every single domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the particular domain/subdomain and to input the link to the custom file. You are able to do this individually for every error type. You will be able to switch back to a standard error page anytime if needed and the change shall take effect immediately. Another way to get the exact same result is to put an .htaccess file in the domain or subdomain folder of the Internet site that you would like to modify and to input several lines of code in it. If you would like 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 coding skills or previous experience.