If a specific page on a website does not load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave your site. A solution in cases like this is a function offered by some website hosting service providers - the option to set up your own custom error pages that shall have exactly the same design and style as your site and which may contain any images or text that you would like depending on the specific error. There are 4 well-known 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 web server and it can't be processed; 401, if you're supposed to log in to see some page, but you haven't done so yet; 403, if you do not have an authorization to view a specific page; and 404, when a link which you have clicked leads to a file which doesn't exist. In any of these situations, site visitors will be able to see your custom made content rather than a generic error page.

Custom Error Pages in Shared Hosting

You can set up custom error pages for each of your domains or subdomains. The function is supported by all shared hosting plans that we provide, so after you log in to your Hepsia Control Panel and navigate to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll appear, you could select the type of error page which should show up - a default one from our system, a standard Apache web server page or a personalized one. For the latter alternative, you'll have to specify the URL to the page, so when you use personalized pages, you should upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The correct syntax can be located in our Knowledge Base, so that you can use this function even if you do not have any previous experience.

Custom Error Pages in Semi-dedicated Servers

All semi-dedicated servers which we offer support custom error pages and it shall not take more than a few clicks from your Hepsia hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP in which you'll have to enter the links to the custom-made files via simple drop-down menus and an easy to use interface. Keep in mind, you should upload them inside your account before that. In case you don't want to employ this feature at some point, you could disable it just as quickly and choose an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you prefer, you may also use an .htaccess file to allow the custom error pages. The file has to have a specific line of code and a link for every error type and you can find an example of the whole content for all four error types in our Help section.