Custom Error Pages
Get familiar with website error pages. Learn when they appear and why you need to make your own custom error pages.
If you have looked at loads of Internet sites, you have probably come across some error message from time to time. An error could take place if the hosting server cannot process a request (Error 400), if you must log in so that you can see some content and you haven't done so (Error 401), if you are not permitted to access some page (Error 403) or when a link leads to a file which isn't on the server (Error 404). Receiving this sort of messages could often be frustrating because the pages have nothing in common with the actual Internet site. That’s why some web hosting providers permit you to apply your own error pages which will match the design of your own site and which can have any content that you'd like - info why the error has occurred, a suggestion what you can do or even some amusing comment. This type of function can help you keep the visitor on the site whatever the error and the reason for it.
-
Custom Error Pages in Web Hosting
If you acquire a
Linux web hosting service from our company, you'll be able to set custom made error pages for your websites quickly and easily, because this function is part of all of our packages. Once you've created the files and uploaded them to your website 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. Inside the pop-up which will appear, you will 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 custom made page. If you select the 3rd option, you should only enter the URL to the file that you have uploaded then save the change. A different way to set custom made 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. If you do not have prior experience or if you're simply unsure how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.
-
Custom Error Pages in Semi-dedicated Servers
All our
Linux semi-dedicated service support personalized error pages, so you shall be able to employ this function for every single domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the particular domain/subdomain and then to type in the link to the custom-made file. You could do this individually for each and every error type. You will be able to switch back to a generic error page anytime if needed and the change shall take effect immediately. A different way to get the same exact result is to place an .htaccess file in the domain or subdomain folder of the site which you'd like to edit and to enter a few lines of program code in it. If you want to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, therefore you will not need any programming skills or previous experience.