When a page on your site doesn't load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will appear, but what's standard for all of them is that they're generic and most likely will have practically nothing that is similar to the layout of your Internet site, which can be frustrating for any site visitor. That is the main reason why website hosting providers have introduced a feature referred to as Custom Error Pages. For a variety of different errors, site visitors will see your unique content, which can be informative or amusing, depending on your preference, and that will match the overall design and style of your site, so the pages won't look like they're not part of your site at all. You may use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).

Custom Error Pages in Website Hosting

The personalized error pages feature is provided with every single website hosting plan we offer and you shall be able to swap all of the generic pages with your own with no more than a couple of mouse clicks inside your Hepsia website hosting Control Panel. You will need to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia CP. You may do this for every website hosted inside the account independently, so that each set of custom made pages will have the very same style and design as the Internet site it is part of. If necessary, you may always return back to a default page from our system or to a default Apache server page. One other way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the required code from our Help article on this subject.

Custom Error Pages in Semi-dedicated Servers

Our semi-dedicated servers support custom error pages, so you'll be able to employ this function for each domain or subdomain hosted in your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button associated with the specific domain/subdomain and to type the link to the custom file. You are able to do this separately for each and every error type. You'll be able to switch back to a generic error page whenever you want if needed and the change will take effect right away. Another way to achieve the same exact result is to place an .htaccess file inside the domain or subdomain folder of the site which you want to change and to enter a couple of lines of code within it. If you'd like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, hence you won't need any coding skills or previous experience.