Whenever a page on your Internet site does not load, an error message will be displayed to the website visitor. As there are different errors, there are different pages which will appear, but what's standard for all of them is that they are generic and in all probability shall have absolutely nothing in common with the layout of your site, which may be frustrating for any visitor. That is the main reason why website hosting companies have introduced a function known as Custom Error Pages. For a number of different errors, site visitors shall see your customized content, which may be informative or humorous, depending on your preference, and that will match the layout of your site, so the pages shall not look like they are not part of your Internet site at all. You can use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Website Hosting
If you get a Linux shared website hosting service from our company, you'll be able to set customized error pages for your websites quickly and easily, as this feature is part of all our plans. The moment 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 selected domain or subdomain. In the pop-up that will show up, you'll see drop-down options menus for all 4 sorts of errors and for each of them you may pick an Apache default page, a generic page from our system or a tailor-made page. In case you select the third option, you should only input the URL to the file that you've uploaded and save the change. One other way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to add a couple of lines of program code in it. In case you don't have prior experience or if you're just uncertain how to do this, you may simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated servers support personalized error pages, thus you'll be able to employ this function for each and every 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 Control Panel, to click the Edit button related to the particular domain/subdomain and to input the link to the custom-made file. You can do this individually for each and every error type. You shall be able to switch back to a generic error page whenever you want if needed and the change will take effect immediately. An alternative way to get the very same result is to place an .htaccess file inside the domain or subdomain folder associated with the site which you'd like to modify and to input a couple of lines of code in it. If you need to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you'll not need any computer programming skills or previous experience.