If you have looked at lots of websites, you have probably stumbled upon some error message every now and then. An error may take place if the server cannot process a request (Error 400), if you have to log in in order to see some content and you haven't done so (Error 401), if you aren't allowed to access a page (Error 403) or when a link leads to a file which isn't on the web server (Error 404). Receiving such messages may sometimes be annoying since the pages have nothing in common with the actual site. That’s why some hosting service providers allow you to set your own error pages that will match the design of your own website and that could have any content which you'd like - information why the error has taken place, a suggestion how to proceed or even some humorous remark. This kind of function shall help you keep the visitor on the site irrespective of the error and the reason for it.
Custom Error Pages in Website Hosting
The customized error pages function is offered with each and every website hosting plan that we offer and you'll be able to replace all of the generic pages with your own with no more than a couple of mouse clicks from your Hepsia website hosting Control Panel. You will have to create the actual files and to upload them to your account, then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You may do this for every single site hosted inside the account independently, so that each group of customized pages shall have the very same design and style as the site it's part of. If necessary, you could always go back to a default page from our system or to the default Apache server page. An alternate way to set personalized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you never done this before, you may simply copy the needed code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated servers support customized error pages, so you shall be able to employ this feature for each domain or subdomain hosted in your account. All it takes to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the given domain/subdomain and then to input the link to the custom file. You are able to do this individually for each and every error type. You shall be able to switch back to a generic error page at any time if needed and the change will take effect straightaway. An alternative way to achieve the exact same result is to put an .htaccess file in the domain or subdomain folder associated with the website which you want to edit and to type in a few lines of program code within it. If you need to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you won't need any computer programming skills or previous experience.