Whenever a page on your website does not load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will show up, but what's standard for all of them is that they are generic and most likely shall have nothing that resembles the layout of your Internet site, which may be annoying for any site visitor. That is the main reason why hosting providers have introduced a feature named Custom Error Pages. For a variety of different errors, visitors will see your custom content, which can be informative or humorous, in accordance with your taste, and which will match the overall layout of your Internet site, so the pages will not appear as if they aren't part of your website at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Shared Web Hosting
When you purchase a shared web hosting from our company, you'll be able to set personalized error pages for your websites easily and quickly, since this feature is a part of all of our packages. Once you've created the files and uploaded them to your web hosting account, you can go to 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 which will be displayed, you shall see drop-down menus for all 4 sorts of errors and for each one of them you can pick an Apache default page, a generic page from our system or a custom made page. In case you select the third option, you should only type the URL to the file that you've uploaded then save the change. A different way to set personalized error pages is to create an .htaccess file inside the domain or subdomain folder and to add a few lines of code in it. In case you don't have previous experience or if you're simply not sure how to do this, you can just copy/paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers that we offer support tailor-made error pages and it will not take more than a few clicks from your Hepsia web hosting Control Panel to use this function. The option can be found in the Hosted Domains section of your CP in which you'll need to input the links to the custom-made files through basic drop-down menus and an easy to use interface. Needless to say, you must upload them in your account before that. If you don't want to use this function at some point, you can easily deactivate it just as easily and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you prefer, you may also use an .htaccess file to activate the custom error pages. The file needs to include a particular line of code plus a link for each error type and you may find an example of the entire content for all four error types in our Help section.