If you have browsed a lot of sites, you have probably stumbled upon some error message from time to time. An error can occur when the server can't process a request (Error 400), if you have to log in to see some content and you haven't done so (Error 401), if you are not able to access some webpage (Error 403) or when a link leads to a file which isn't on the website hosting server (Error 404). Getting such messages can often be aggravating as the pages have nothing in common with the actual website. That’s why some website hosting providers allow you to use your own error pages which will match the style of your own site and which can have any content that you would like - details why the error has taken place, a suggestion what you can do or even some amusing remark. Such a function shall help you keep the visitor on the website whatever the error and the reason for it.

Custom Error Pages in Cloud Hosting

The custom made error pages feature is offered with each cloud hosting plan which we offer and you shall be able to swap all of the generic pages with your own with no more than just a few clicks inside your Hepsia website hosting CP. You shall need to create the actual files and to upload them to your account, and then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each site hosted in the account independently, so that each set of custom made pages shall have the same design and style as the Internet site it is part of. If necessary, you may always go back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you may simply copy the needed program code from our Help article on the subject.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated hosting plans support custom made error pages, so you shall be able to employ this feature for any domain or subdomain hosted in your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the specific domain/subdomain and to type in the link to the custom-made file. You could do this independently for every error type. You will be able to switch back to a standard error page anytime if needed and the change shall take effect right away. A different way to achieve the exact same result is to set an .htaccess file in the domain or subdomain folder of the Internet site that you'd like to modify and to enter several lines of code within it. If you need to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you will not need any coding skills or previous experience.