If you have browsed lots of sites, you've probably come across some error message once in a while. An error could take place in case the website hosting server can't process a request (Error 400), if you need to log in to see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file which isn't on the server (Error 404). Receiving this sort of messages may often be annoying because the pages have nothing in common with the actual Internet site. That’s why some hosting service providers permit you to set your own error pages which will match the design of your own site and that could have any content that you want - details why the error has taken place, a suggestion how to proceed or even some funny remark. This sort of function can help you keep the visitor on the site whatever the error and the reason for it.
Custom Error Pages in Shared Hosting
When you acquire a Linux shared hosting service
from our company, you will be able to set custom made error pages for your websites easily and quickly, as this feature is part of all our solutions. The moment you've 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 selected domain or subdomain. In the pop-up that will appear, you shall see drop-down menus for all four kinds of errors and for each of them you may choose an Apache default page, a generic page from our system or a custom page. Should you choose the 3rd option, you should just type the URL to the file that you have uploaded and save the change. Another way to set custom 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 simply unsure how to do this, you can simply copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Servers
When you host your web sites in a semi-dedicated server
account with our company, you could set custom made error pages for any of them with ease via our in-house created Hepsia hosting Control Panel. With just a couple of clicks in the Hosted Domains section, you'll be able to change the default setting from a system page to a custom one for each of the 4 error types. All you must do is provide a link to each and every file that you've uploaded before that and then save the change. If necessary, you shall be able to revert this customization at any time and in exactly the same way. If you would like, you could use an .htaccess file as well. It should be created/uploaded inside the domain or subdomain folder belonging to the site whose error pages you would want to alter and the content for this type of file can be found in our Help article on this matter.