If a specific page on an Internet site does not load for some reason or in case a link is not functioning, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, which could make the visitor leave the website. A solution in cases like this is a feature made available from some website hosting companies - the option to set up your own customized error pages which shall have exactly the same design as your website and that may contain any images or text that you would like depending on the specific error. There are 4 well-known errors which may take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see a page, but you haven't done so yet; 403, if you don't have a permission to view a specific page; and 404, when a link that you've clicked leads to a file that does not exist. In all 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 Web Hosting

You shall be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all web hosting package that we provide, so after you log in to the Hepsia CP and navigate to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could pick the kind of error page that should show up - a default one from our system, a conventional Apache server page or a customized one. For the latter alternative, you have to specify the URL to the page, so when you use personalized pages, you need to upload the files inside your web hosting account first. Another way is to use an .htaccess file located inside the domain or subdomain folder with a line for every error type. The precise syntax can be seen in our Knowledge Base, so that you can use this function even if you don't have any previous experience.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated hosting plans support custom made error pages, thus you'll be able to use this feature for every single 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 on the Edit button related to the particular domain/subdomain and then to type the link to the custom file. You could do this separately for each error type. You shall be able to switch back to a default error page at any time if needed and the change shall take effect at once. Another way to get the same exact result is to put an .htaccess file inside the domain or subdomain folder related to the web site which you want to change and to enter a few lines of program code inside it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, so you will not need any programming skills or prior experience.