Custom Error Pages
Get familiar with website error pages. Learn when they appear and why you should set up your own custom error pages.
If you have checked out lots of websites, you have probably come across some error message from time to time. An error can take place when the website hosting server can't process a request (Error 400), if you have to log in in order to see some content and you have not done so (Error 401), if you are not allowed to access a webpage (Error 403) or if a link leads to a file which is not on the website hosting server (Error 404). Getting this kind of messages can sometimes be irritating as the pages have nothing in common with the actual website. That’s why some website hosting companies permit you to set your own error pages which will match the style of your own site and that can have any content that you want - information why the error has occurred, a suggestion what you can do or even some funny comment. Such a feature will help you keep the visitor on the website no matter the error and the reason for it.
Custom Error Pages in Shared Website Hosting
You'll be able to set up personalized error pages for each of your domains or subdomains. The function is supported by all shared website hosting
plans which we offer, so as soon as you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that will be displayed, you may pick the sort of error page that should show up - a default one from our system, a standard Apache server page or a custom one. For the latter option, you must assign the URL to the page, so when you use personalized pages, you need to upload the files inside your Internet hosting account first. One other way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The exact syntax can be seen in our Knowledge Base, to help you use this feature even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of the Linux semi-dedicated hosting plans
that we supply support tailor-made error pages and it shall not take more than a few clicks in your Hepsia website hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your Control Panel where you will have to input the links to the custom-made files through basic drop-down menus and an intuitive interface. Needless to say, you should upload them to your account before that. In case you don't need to use this function at some point, you can disable it just as quickly and choose an Apache server page or a default page from our system to be displayed if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to permit the custom error pages. The file needs to have a particular line of code and a link for each and every error type and you may discover an example of the entire content for all four error types in our Help section.