If a particular page on an Internet site doesn't load for some reason or if a link is not working, the site 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 likely solution in such a case is a function made available from some web hosting providers - the option to set your own custom error pages that shall have exactly the same style and design as your Internet site and which can contain any images or text you want dependent upon the particular error. There are four popular errors that can occur and they involve these particular 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, if you are supposed to log in to see a page, but you have not done this yet; 403, if you don't have an authorization to view a certain page; and 404, if a link which you have clicked leads to a file which does not exist. In all of these scenarios, visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Shared Website Hosting
You'll be able to set up custom error pages for all of your sites with ease if you use any of our shared website hosting. This can easily be done via the Hosted Domains section of the Hepsia CP, offered with all accounts as soon as you go there, you can set your customized pages independently for any domain or subdomain. You should upload the files to your account in advance and input the links to them during the process. This feature could be de-activated at any time and the options you'll be able to pick 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 too. The file should be placed in the domain or subdomain folder and it should include some system code and links to the pages. If you aren't tech-savvy, you could copy the entire content required for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
All of our semi-dedicated packages support customized error pages, so you shall be able to employ this feature for any domain or subdomain hosted inside your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia CP, to click on the Edit button related to the particular domain/subdomain and then to type the link to the custom-made file. You could do this individually for each and every error type. You will be able to switch back to a default error page at any time if necessary and the change shall take effect straightaway. Another way to get the same result is to place an .htaccess file inside the domain or subdomain folder associated with the web site which you'd like to change and to enter a couple of lines of code inside it. If you'd like to try this method, you may copy and paste the required code from our Knowledge Base article on custom error pages, so you won't need any coding skills or previous experience.