If a certain page on a website does not load for some reason or in case a link is not functioning, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave your Internet site. A solution in this case is a feature made available from some web hosting providers - the option to set your own custom-made error pages which will have identical design as your site and that can contain any images or text that you'd like depending on the particular error. There are four common errors that could take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link that you have clicked leads to a file which does not exist. In any of these scenarios, site visitors will be able to see your customized content rather than a generic error page.

Custom Error Pages in Cloud Hosting

The personalized error pages function is available with each cloud hosting package we offer and you shall be able to replace all generic pages with your own with no more than a couple of mouse clicks in your Hepsia hosting Control Panel. You will have to develop the actual files and to upload them to your account, 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 every single site hosted inside the account individually, so that each set of custom made pages will have identical style and design as the Internet site it is part of. If needed, you may 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 in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you can simply copy the needed code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support tailor-made error pages, so you shall be able to use this function for each domain or subdomain hosted in your account. All it will take to do this is to check out the Hosted Domains section of the Hepsia CP, to click the Edit button linked to the specific domain/subdomain and to input the link to the custom-made file. You can do this independently for each error type. You shall be able to switch back to a default error page whenever you want if necessary and the change shall take effect right away. An alternative way to achieve the same result is to put an .htaccess file inside the domain or subdomain folder associated with the website which you want to modify and to type in a couple of lines of program code in it. If you want to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, thus you won't need any programming skills or previous experience.