If you have looked at loads of sites, you have probably come across some error message from time to time. An error can occur in case the web hosting server cannot process a request (Error 400), if you have to log in to see some content and you have not done so (Error 401), if you are not able to access some webpage (Error 403) or when a link leads to a file which is not on the server (Error 404). Encountering this sort of messages may sometimes be annoying since the pages have nothing in common with the actual site. That’s why some hosting providers allow you to apply your own error pages that will match the layout of your own site and that may have any content which you'd like - information why the error has appeared, a suggestion what you can do or even some amusing comment. This kind of function shall help you keep the visitor on the website no matter the error and the reason for it.

Custom Error Pages in Hosting

When you get a Linux hosting package from our company, you'll be able to set custom made error pages for your sites easily, since this feature is a part of all our packages. Once you have created the files and uploaded them to your website hosting account, you can 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 be displayed, you'll see drop-down menus for all 4 kinds of errors and for each one of them you may pick an Apache default page, a generic page from our system or a custom page. Should you pick the 3rd option, you should only type the URL to the file you have uploaded then save the change. One other way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. If you don't have previous experience or if you're just unsure how to do this, you could simply copy and paste the code from our Knowledge Base article on that subject.

Custom Error Pages in Semi-dedicated Hosting

All Linux semi-dedicated hosting packages that we provide support custom error pages and it will not take more than a couple of clicks in your Hepsia hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your CP in which you'll need to enter the links to the custom-made files through simple drop-down menus and an intuitive interface. Keep in mind, you should upload them inside your account before that. In case you do not want to employ this function at some point, you can easily deactivate it just as fast and select an Apache server page or a default page from our system to be shown if 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 should include a specific line of code and a link for every single error type and you can easily discover an example of the whole content for all four error types in our Help section.