Whenever a page on your Internet site doesn't load, an error message will be displayed to the website visitor. Since there are different errors, there are different pages that'll appear, but what's standard for all of them is that they're generic and almost certainly shall have practically nothing in common with the design of your site, which could be irritating for any site visitor. This is the primary reason why web hosting companies have introduced a function known as Custom Error Pages. For a wide variety of different errors, site visitors shall see your unique content, which can be informative or humorous, in accordance with your choice, and that will match the design and style of your site, so the pages will not seem like they are not part of your site at all. You can use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Web Hosting
When you get a Linux web hosting from our company, you'll be able to set personalized error pages for your Internet sites easily and quickly, because this feature is a part of all of our plans. Once you've created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you'll see drop-down menus for all 4 sorts of errors and for each of them you can select an Apache default page, a generic page from our system or a custom made page. Should you select the third option, you should just input the URL to the file that you have uploaded and save the change. One other way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a couple of lines of program code in it. If you do not have prior experience or if you are simply unsure how to do this, you could simply copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
All Linux semi-dedicated hosting that we provide support customized error pages and it shall not take more than several mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your Control Panel in which you'll need to type in the links to the custom-made files using very simple drop-down menus and an intuitive interface. Needless to say, you must upload them to your account before that. If you don't want to use this feature at some point, you could deactivate it just as fast and pick an Apache server page or a default page from our system to be shown when your visitors encounter an error. If you'd like to, you could also use an .htaccess file to activate the personalized error pages. The file needs to include a specific line of code plus a link for each error type and you may discover an example of the whole content for all four error types in our Help section.