If a page on your site doesn't load, an error message will be shown to the site visitor. Since there are different errors, there are different pages which will show up, but what's common for all of them is that they're generic and almost certainly shall have absolutely nothing that is similar to the layout of your website, which can be annoying for any website visitor. This is the primary reason why web hosting providers have introduced a feature known as Custom Error Pages. For a range of different errors, visitors will see your custom made content, which can be informative or humorous, based on your preference, and that will match the style and design of your Internet site, so the pages shall not look like they're not part of your Internet site at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Website Hosting
If you purchase a shared website hosting plan from our company, you will be able to set personalized error pages for your sites easily and quickly, because this feature is part of all of our plans. As soon as you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will appear, you shall see drop-down menus for all four types of errors and for each of them you may choose an Apache default page, a generic page from our system or a tailor-made page. If you pick the 3rd option, you should just input the URL to the file that you've uploaded and save the change. A different way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. If you do not have previous experience or if you are just uncertain how to do that, you could just copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
Our semi-dedicated hosting plans support tailor-made error pages, so you'll be able to employ this function for each domain or subdomain hosted in your account. All it takes to do that 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 then to type in the link to the custom file. You'll be able to do this separately for each and every error type. You will be able to switch back to a generic error page anytime if required and the change will take effect straightaway. An alternative way to get the exact same result is to place an .htaccess file inside the domain or subdomain folder associated with the site that you would like to edit and to type in a couple of lines of program code inside it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you won't need any coding skills or prior experience.