If a page on your site doesn't load, an error message shall be displayed to the website visitor. Since there are different errors, there are different pages that'll show up, but what is common for all of them is that they're generic and most likely shall have nothing that is similar to the layout of your website, which may be irritating for any website visitor. That is the main reason why website hosting providers have introduced a function known as Custom Error Pages. For a number of different errors, visitors will see your unique content, which may be informative or witty, based on your taste, and which will match the overall style and design of your Internet site, so the pages won't look like they are not part of your site at all. You may use this option for a number of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Cloud Website Hosting

If you get a Linux cloud website hosting from our company, you'll be able to set personalized error pages for your Internet sites easily and quickly, because this feature is part of all our plans. As soon as 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 particular domain or subdomain. In the pop-up which will appear, you'll see drop-down options menus for all 4 sorts 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. In case you pick the 3rd option, you should only enter the URL to the file you have uploaded and save the change. Another way to set customized error pages is to create an .htaccess file in the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have previous experience or if you are just not sure how to do that, you may just copy/paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All of our semi-dedicated hosting services support customized error pages, thus you'll be able to employ this function for any domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the particular domain/subdomain and then to type the link to the custom file. You can do this independently for each error type. You will be able to switch back to a standard error page anytime if necessary and the change will take effect instantly. A different way to achieve the exact same result is to put an .htaccess file inside the domain or subdomain folder associated with the Internet site that you'd like to change and to enter several lines of code inside it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, which means that you won't need any coding skills or previous experience.