If you have checked out loads of sites, you have probably come across some error message once in a while. An error can take place in case the web hosting server can't process a request (Error 400), if you have to log in so that you can see some content and you haven't done so (Error 401), if you aren't able to access some webpage (Error 403) or if a link leads to a file that isn't on the hosting server (Error 404). Receiving such messages could often be aggravating because the pages have nothing in common with the actual Internet site. That’s why some hosting companies allow you to set your own error pages that will match the style of your own Internet site and that could have any content that you would like - info why the error has taken place, a suggestion what you can do or even some funny remark. This type of function shall help you keep the visitor on the website regardless of the error and the reason for it.
Custom Error Pages in Cloud Website Hosting
When you buy a Linux cloud website hosting service
from us, you'll be able to set customized error pages for your websites easily and quickly, because this feature is a part of all our solutions. Once you have created the files and uploaded them to your hosting account, you can go to the Hosted Domains section of your Hepsia CP 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 types of errors and for each one of them you may pick an Apache default page, a generic page from our system or a customized page. Should you choose the 3rd option, you should only input the URL to the file you have uploaded and save the change. One other way to set customized error pages is to set up an .htaccess file in the domain or subdomain folder and to include several lines of program code in it. In case you don't have previous experience or if you're simply uncertain how to do that, you could just copy and paste the code from our Knowledge Base article on that matter.
Custom Error Pages in Semi-dedicated Servers
Our Linux semi-dedicated servers
support personalized error pages, so you shall be able to use this function for every single domain or subdomain hosted in your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to type the link to the custom file. You could do this independently for each error type. You'll be able to switch back to a standard error page at any time if necessary and the change shall take effect at once. Another way to get the same exact result is to place an .htaccess file inside the domain or subdomain folder related to the Internet site that you want to change and to type in a couple of lines of code inside it. If you need to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, so you shall not need any coding skills or previous experience.