If you have looked at many Internet sites, you've probably stumbled upon some error message every now and then. An error may occur when the web 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 are not able to access a webpage (Error 403) or if a link leads to a file that is not on the hosting server (Error 404). Receiving this kind of messages may often be irritating as the pages don't have anything in common with the actual website. That’s why some website hosting providers allow you to apply your own error pages that'll match the style of your own website and which can have any content that you would like - info why the error has taken place, a suggestion what you can do or even some amusing comment. This sort of feature shall help you keep the visitor on the website no matter the error or the reason for it.
Custom Error Pages in Shared Hosting
If you order a shared package
from our company, you'll be able to set custom error pages for your websites fast and easy, since this feature is part of all our solutions. As soon as you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will show up, you'll see drop-down options menus for all 4 types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a tailor-made page. If you select the third option, you should only enter the URL to the file you have uploaded and save the change. A different way to set custom error pages is to create an .htaccess file inside the domain or subdomain folder and to include a couple of lines of code in it. In case you don't have prior experience or if you're just uncertain how to do this, you can just copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
Our semi-dedicated packages
support custom error pages, so you shall be able to use this function for any domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button linked to the specific domain/subdomain and then to enter the link to the custom-made file. You are able to do this separately for each error type. You shall be able to switch back to a default error page whenever you want if required and the change will take effect at once. A different way to get the same exact result is to put an .htaccess file in the domain or subdomain folder related to the site which you want to change and to type in a few lines of code in it. If you want to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you won't need any coding skills or previous experience.