If a particular page on a website does not load for some reason or in case a link is broken, the visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which could make the visitor leave the website. A possible solution in such a case is a function offered by some web hosting companies - the ability to set up your own personalized error pages which shall have the same style and design as your site and that could contain any text or images that you'd like based on the particular error. There are four well-known errors that could take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a page, but you haven't done this yet; 403, if you do not have an authorization to view a specific page; and 404, in case a link which you have clicked leads to a file which does not exist. In any of these scenarios, website visitors shall be able to see your customized content as opposed to a generic error page.

Custom Error Pages in Cloud Website Hosting

You can set up custom made error pages for all of your Internet sites effortlessly if you use any of our cloud website hosting. This can be done using the Hosted Domains section of the Hepsia Control Panel, offered with all accounts as soon as you go there, you could set your custom made pages independently for any domain or subdomain. You should upload the files to your account ahead of time and input the links to them during the process. This function could be de-activated anytime and the options you will be able to pick from are a standard page from our system or a default Apache server page. Customized error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it must incorporate some system code and links to the pages. If you aren't tech-savvy, you could copy the whole content you'll need for the file from our Help section.

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 and every domain or subdomain hosted inside your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and to type in the link to the custom file. You can do this independently for each error type. You shall be able to switch back to a standard error page anytime if necessary and the change shall take effect at once. Another way to achieve the same result is to set an .htaccess file in the domain or subdomain folder related to the web site which you want to change and to enter a few lines of code inside it. If you'd like to try this method, you can copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you shall not need any coding skills or previous experience.