Custom Error Pages
Learn what a Custom Error Page is, what role does it serve and the way to create one.
Whenever a page on your website does not load, an error message will be shown to the visitor. Because there are different errors, there are different pages which will appear, but what is typical for all of them is that they are generic and almost certainly shall have nothing in common with the design of your Internet site, which may be frustrating for any site visitor. This is the reason why hosting companies have introduced a function named Custom Error Pages. For a range of different errors, visitors will see your custom content, which can be informative or amusing, in accordance with your personal preference, and which shall match the layout of your Internet site, so the pages will not look like they aren't part of your Internet site at all. You could use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
-
Custom Error Pages in Hosting
When you purchase a
Linux hosting package from our company, you'll be able to set custom made error pages for your Internet sites quickly and easily, as this feature is part of all of our plans. After you have created the files and uploaded them to your 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. In the pop-up that will show up, you shall see drop-down options menus for all four sorts of errors and for each one of them you can select an Apache default page, a generic page from our system or a personalized page. Should you pick the 3rd option, you should simply type the URL to the file you have uploaded then save the change. One other way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. If you do not have previous experience or if you're just unsure 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 Hosting
All of our
Linux semi-dedicated hosting packages support custom made error pages, so you'll be able to use this function for each domain or subdomain hosted inside your account. All it will take to do this is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the particular domain/subdomain and to enter the link to the custom-made file. You can do this individually for every error type. You'll be able to switch back to a generic error page at any time if needed and the change shall take effect right away. A different way to achieve the very same result is to place an .htaccess file inside the domain or subdomain folder associated with the website that you want to edit and to input several lines of program code in it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, thus you'll not need any computer programming skills or previous experience.