If you have looked at lots of websites, you have probably come across some error message once in a while. An error can take place if the web server can't process a request (Error 400), if you need 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 page (Error 403) or when a link leads to a file that isn't on the server (Error 404). Encountering this type of messages could often be annoying because the pages don't have anything in common with the actual website. That’s why some web hosting companies permit you to set your own error pages that will match the layout of your own Internet site and that can have any content which you would like - information why the error has appeared, a suggestion how to handle it or even some amusing comment. This type of feature shall help you keep the visitor on the website whatever the error and the reason for it.

Custom Error Pages in Shared Hosting

The custom error pages feature is provided with each shared hosting plan that we offer and you shall be able to replace all of the generic pages with your own with no more than just a few clicks inside your Hepsia hosting Control Panel. You will need to create the actual files and to upload them to your account, and then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia CP. You can do this for every Internet site hosted inside the account separately, so that every set of custom pages will have the exact same design as the site it is part of. If required, you can always revert back to a default page from our system or to the default Apache server page. One other way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the necessary program code from our Help article about the subject.

Custom Error Pages in Semi-dedicated Servers

All our semi-dedicated servers support personalized error pages, so you'll be able to use this function for each and every domain or subdomain hosted inside your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the given domain/subdomain and then to enter the link to the custom file. You could do this independently for each and every error type. You shall be able to switch back to a generic error page at any time if necessary and the change shall take effect straightaway. An alternative way to get the very same result is to place an .htaccess file in the domain or subdomain folder associated with the website that you would like to change and to enter a couple of lines of program code within it. If you'd like to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, thus you won't need any programming skills or prior experience.