Custom Error Pages in Website Hosting
If you buy a Linux website hosting from our company, you'll be able to set customized error pages for your sites quickly and easily, since this function is a part of all of our packages. After you have created the files and uploaded them to your web hosting account, you can go to the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. In the pop-up that will show up, you will see drop-down options menus for all four types of errors and for each one of them you may choose an Apache default page, a generic page from our system or a customized page. If you pick the third option, you should just enter the URL to the file that you have uploaded and save the change. One other way to set custom error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a couple of lines of code in it. In case you don't have preceding experience or if you are just not sure how to do that, you can simply copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your own pages for any of the four error types to any site hosted inside a semi-dedicated server account with us will be very basic and will not take more than several mouse clicks. As soon as you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could choose what page should appear for every error type. Your choices are a default Apache server page or a page from our system, and custom pages. In case you select the aforementioned option, you have to input the link to every single page in your account, then save the change. The link or the sort of page that will be shown if a user encounters an error can be changed whenever you want. In case you’re more experienced, you may use an .htaccess file in order to set custom made error pages too, as opposed to using our integrated generator tool, and should you choose this option, the file must be placed inside the root directory of a particular domain or subdomain.