If a particular page on a website doesn't load for some reason or if a link is broken, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, that may make the visitor leave the website. A solution in this case is a function made available from some hosting service providers - the option to set your own personalized error pages which will have exactly the same style and design as your Internet site and that could contain any images or text that you'd like depending on the specific error. There are four common errors that can take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see some webpage, but you have not done so yet; 403, if you don't have a permission to see a certain page; and 404, when a link which you have clicked leads to a file which doesn't exist. In all of these scenarios, site visitors will be able to see your custom made content instead of a generic error page.

Custom Error Pages in Website Hosting

You'll be able to set up custom error pages for each of your websites easily if you use any of our Linux website hosting service. This can be done through the Hosted Domains part of the Hepsia Control Panel, which comes with all accounts and once you go there, you could set your custom made pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and enter the links to them during the process. This function may be de-activated whenever you want and the options you shall be able to to choose from are a generic page from our system or a default Apache server page. Personalized error pages can be set with an .htaccess file as well. The file should be put into the domain or subdomain folder and it must include some system code and links to the pages. If you aren't tech-savvy, you could copy the whole content you'll need for the file from our Help section.

Custom Error Pages in Semi-dedicated Servers

All of our semi-dedicated service support custom error pages, so you shall be able to use this function for every single domain or subdomain hosted inside your account. All it takes to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button related to the specific domain/subdomain and then to type in the link to the custom file. You can do this individually for each and every error type. You shall be able to switch back to a standard error page anytime if necessary and the change will take effect at once. Another way to get the very same result is to place an .htaccess file in the domain or subdomain folder related to the web site that you'd like to modify and to enter a couple of lines of program code within it. If you'd like to try this method, you could copy and paste the required code from our Knowledge Base article on custom error pages, hence you'll not need any programming skills or previous experience.