If you have checked out lots of Internet sites, you've probably come across some error message from time to time. An error can take place if the web server cannot process a request (Error 400), if you have to log in so as to see some content and you haven't done so (Error 401), if you are not allowed to access some page (Error 403) or if a link leads to a file which is not on the server (Error 404). Encountering this type of messages may often be annoying since the pages have absolutely nothing in common with the actual Internet site. That’s why some web hosting companies permit you to set your own error pages that will match the design of your own Internet site and that may have any content that you would like - information why the error has taken place, a suggestion what you can do or even some humorous comment. This sort of feature shall help you keep the visitor on the website whatever the error or the reason for it.

Custom Error Pages in Web Hosting

If you obtain a web hosting plan from our company, you'll be able to set custom error pages for your Internet sites fast and easy, since this function is part of all of our packages. The moment you have created the files and uploaded them to your website hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will be displayed, you shall see drop-down menus for all 4 kinds of errors and for each one of them you may select an Apache default page, a generic page from our system or a custom made page. Should you choose the third option, you should just input the URL to the file you have uploaded then save the change. Another way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to add a few lines of code in it. If you don't have prior experience or if you're simply unsure how to do this, you may 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 hosting plans which we provide support custom made error pages and it will not take more than several mouse clicks inside your Hepsia web hosting Control Panel to use this functionality. The option can be found in the Hosted Domains section of your CP in which you'll have to type in the links to the custom-made files via very simple drop-down menus and a user-friendly interface. Of course, you need to upload them to your account before that. In case you don't need to employ this feature at some point, you could deactivate it just as fast and choose an Apache server page or a default page from our system to be displayed when your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to enable the customized error pages. The file needs to contain a specific line of code as well as 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.