If a certain page on a website doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the site, which could make the visitor leave the website. A likely solution in this case is a feature offered by some hosting providers - the option to set up your own custom error pages which will have exactly the same design and style as your site and that can contain any text or images which you want dependent upon the specific error. There are 4 common errors which can take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it can't be processed; 401, in case you are supposed to log in to see a webpage, but you have not done this yet; 403, if you do not have an authorization to see a certain page; and 404, when a link that you have clicked leads to a file which does not exist. In each of these cases, website visitors will be able to see your custom made content as opposed to a generic error page.

Custom Error Pages in Hosting

The customized error pages feature is offered with each hosting package that we offer and you will be able to substitute all of the generic pages with your own with no more than just a few clicks in your Hepsia website hosting Control Panel. You'll have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each Internet site hosted in the account separately, so that every set of customized pages will have the very same design and style as the site it is part of. If necessary, you may always go back to a default page from our system or to a default Apache server page. An alternate way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you could simply copy the necessary code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support customized error pages, so you'll be able to use this function for each domain or subdomain hosted in your account. All it takes to do this is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the particular domain/subdomain and then to input the link to the custom file. You can do this independently for every error type. You'll be able to switch back to a standard error page anytime if required and the change will take effect right away. A different way to get the same result is to set an .htaccess file inside the domain or subdomain folder associated with the website that you'd like to edit and to enter a few lines of program code inside it. If you'd like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, which means that you'll not need any programming skills or previous experience.