If you have looked at a lot of sites, you've probably come across some error message every now and then. An error could take place when the web server cannot process a request (Error 400), if you need to log in so as to see some content and you have not done so (Error 401), if you are not able to access some webpage (Error 403) or when a link leads to a file that isn't on the server (Error 404). Receiving this type of messages could sometimes be annoying as the pages have absolutely nothing in common with the actual Internet site. That’s why some hosting companies permit you to use your own error pages that'll match the layout of your own Internet site and which could have any content that you'd like - details why the error has taken place, a suggestion how to handle it or even some amusing remark. This type of feature can help you keep the visitor on the website whatever the error and the reason for it.
Custom Error Pages in Cloud Web Hosting
If you obtain a cloud web hosting from us, you shall be able to set custom made error pages for your websites easily, as this function is part of all of our packages. Once you've created the files and uploaded them to your web hosting account, you can check out 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 that will show up, you will see drop-down menus for all 4 sorts of errors and for each one of them you could choose an Apache default page, a generic page from our system or a customized page. In case you choose the third option, you should only enter the URL to the file you have uploaded and save the change. A different way to set customized 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 do not have prior experience or if you're just uncertain how to do that, you could just copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
All our Linux semi-dedicated hosting support custom made 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 this is to navigate to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the specific domain/subdomain and then to type the link to the custom file. You can do this separately for every error type. You shall be able to switch back to a default error page anytime if required and the change shall take effect straightaway. An alternative way to get the same exact result is to put an .htaccess file in the domain or subdomain folder of the website that you would like to edit and to type in a few lines of code within it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you will not need any programming skills or previous experience.