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

Custom Error Pages in Hosting

You can set up custom made error pages for all of your websites easily if you use any of our Linux hosting. This can be done through the Hosted Domains section of the Hepsia CP, offered with all accounts and when you go there, you could set your personalized pages independently for any domain or subdomain. You have to upload the files to your account before you start and input the links to them during the process. This feature may be de-activated at any time and the options you will be able to select from are a standard page from our system or a default Apache web server page. Personalized error pages may be set with an .htaccess file as well. The file should be put in the domain or subdomain folder and it must include some system code and links to the pages. If you are not tech-savvy, you could copy the entire content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All of our Linux semi-dedicated hosting service support personalized error pages, so you'll be able to employ this function for each and every domain or subdomain hosted in your account. All it will take to do this is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the particular domain/subdomain and to type the link to the custom file. You could do this independently for every error type. You shall be able to switch back to a generic error page at any time if necessary and the change will take effect immediately. A different way to get the same exact result is to place an .htaccess file in the domain or subdomain folder of the Internet site which you want to change and to input several lines of code in it. If you would like to try this method, you can copy and paste the needed code from our Knowledge Base article on custom error pages, so you'll not need any coding skills or previous experience.