Custom Error Pages
Take a plunge into website error pages. Find out when they appear and why you need to set up your own custom error pages.
If a certain page on a website 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 shall have nothing in common with the rest of the website, which could make the visitor leave your website. A potential solution in cases like this is a function offered by some hosting service providers - the option to set your own custom error pages that shall have the exact same design as your website and that could contain any images or text that you would like depending on the specific error. There are four standard errors that could take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you haven't done this yet; 403, if you don't have a permission to view a particular page; and 404, in case a link which you have clicked leads to a file which doesn't exist. In any of these scenarios, website visitors will be able to see your customized content instead of a generic error page.
-
Custom Error Pages in Web Hosting
You can set up custom error pages for any of your sites effortlessly if you use any of our
web hosting. This can easily be done via the Hosted Domains section of the Hepsia Control Panel, offered with all accounts and when you go there, you'll be able to set your custom pages independently for any domain or subdomain. You need to upload the files to your account before you start and enter the links to them through the process. This feature could be de-activated whenever you want and the options you will be able to pick from are a generic page from our system or a default Apache server page. Tailor-made error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should include some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content you'll need for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Servers
All of our
semi-dedicated servers support custom made error pages, so you will be able to use this function for every single domain or subdomain hosted inside your account. All it will take to do that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button associated with the given domain/subdomain and then to input the link to the custom-made file. You are able to do this individually for each and every error type. You will be able to switch back to a generic error page at any time if necessary and the change will take effect at once. An alternative way to get the same result is to place an .htaccess file in the domain or subdomain folder associated with the website that you want to change and to type in a couple of lines of code inside it. If you need to try this method, you could copy and paste the needed code from our Knowledge Base article on custom error pages, so you will not need any programming skills or previous experience.