If a specific page on an Internet site does not load for some reason or if a link is not working, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which may make the visitor leave the site. A potential solution in this case is a feature offered by some website hosting service providers - the ability to set up your own personalized error pages which shall have the exact same style and design as your website and which could contain any text or images which you want depending on the specific error. There are 4 common errors that may take place and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have a permission to see a particular page; and 404, in case a link which you have clicked leads to a file that does not exist. In any of these scenarios, website visitors will be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You shall be able to set up custom error pages for any of your domains or subdomains. The function is supported by all shared hosting
plans which we provide, so when you log in to the Hepsia CP 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 may pick the kind of error page that should show up - a default one from our system, a standard Apache web server page or a personalized one. For the latter alternative, you must assign the URL to the page, so when you use custom made pages, you have to upload the files inside your Internet hosting account first. One other way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The actual syntax can be found in our Knowledge Base, so you can use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated hosting
that we supply support personalized error pages and it shall not take more than a few clicks in your Hepsia website hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your Control Panel in which you'll have to enter the links to the custom-made files via simple drop-down menus and a time and effort saving interface. Of course, you must upload them inside your account before that. In case you do not need to employ this feature at some point, you could deactivate it just as easily and choose an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd like to, you could also use an .htaccess file to activate the custom error pages. The file should include a particular line of code and a link for every error type and you may discover an example of the entire content for all four error types in our Help section.