If you have looked at loads of Internet sites, you have probably stumbled upon some error message from time to time. An error can take place in case the web hosting server can't process a request (Error 400), if you must log in in order to see some content and you haven't done so (Error 401), if you are not permitted to access some page (Error 403) or when a link leads to a file that isn't on the web server (Error 404). Getting this type of messages may sometimes be aggravating since the pages don't have anything in common with the actual Internet site. That’s why some hosting providers allow you to apply your own error pages that will match the design of your own site and that can have any content that you'd like - information why the error has taken place, a suggestion what you can do or even some funny comment. This sort of function will help you keep the visitor on the site no matter the error or the reason for it.
Custom Error Pages in Web Hosting
You'll be able to set up custom made error pages for all of your domains or subdomains. The function is supported by all web hosting solutions which we offer, so after you log in to the Hepsia CP and go to the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you may pick the type of error page that should appear - a default one from our system, a standard Apache web server page or a customized one. For the last mentioned option, you have to specify the URL to the page, so when you use custom made pages, you must upload the files inside your web hosting account first. An alternative way is to use an .htaccess file located in the domain or subdomain folder with a line for each and every error type. The actual syntax can be seen in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers that we offer support custom made error pages and it shall not take more than a few mouse clicks inside your Hepsia hosting Control Panel to use this functionality. The option is available in the Hosted Domains section of your Control Panel in which you will need to type in the links to the custom-made files via very simple drop-down menus and an easy to use interface. Needless to say, you should upload them in your account before that. In case you do not need to use this function at some point, you can deactivate it just as fast 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 can also use an .htaccess file to permit the personalized error pages. The file should contain a particular line of code as well as a link for every error type and you can easily find an example of the whole content for all four error types in our Help section.