http

At some point all of us have experienced website errors and have witnessed some error page displayed. On top of that there is no obvious reason as to why they appear

The error pages may be quite frustrating. You are just browsing, blogging, writing, coding and suddenly you are smacked with 404 error page or some other error. Most of the time you have no clue why you have received this error, but it can be actually quite helpful if you understand what is the exact reason for it. Below are some of the most commonly seen errors and an explanation and a few tips how to resolve them.

500: Internal Server Error

An Internal Server Error means that the server attempted to handle your request, but something went wrong in the process. You can easily check what is the exact cause of the error from the web server error log. If you are hosted on a cPanel server you can check the error log from your cpanel -> Logs -> Error Logs.  You can check the entries there and if you are interested in particular IP you can search for it by pressing “CTRL + F” on your keyboard. The most common reasons are:

1. Invalid permissions for some file or folder. We work to ensure our customers always operate in the most secure web hosting environment possible. This occasionally means certain files are assigned permissions that don’t allow them to be accessed. Generally files should be with 644 permissions and folders should be with 755 permissions (there are exeptions of course). In such case the exact file/folder with wrong permissions can be easily checked from the error log.

2. Invalid characters in your .htaccess files. This is a special file which allows a user to control certain aspects of the Apache web server. While powerful, it must be very precisely constructed. Your Error Log will tell you if there is a problem and on which line it exists.

3. Verify you do not have invalid characters in your index.html, index.php scripts or dependent scripts. As most websites are comprised of many files, we strongly suggest referring to your error logs for the precise location. You can also replace a suspect file with a version known to be working to see if the switch corrected the problem.

403 Forbidden

Status code 403 responses are the result of the web server being configured to deny access, for some reason, to the requested resource by the client. Also the Apache web server may return 403 Forbidden in response to requests for url paths that correspond to filesystem directories, when directory listings have been disabled in the server (this cab ne done via the .htaccess file). If you receive such error you may open a support ticket and our support team shall gladly assist you.

404: Page Not Found

The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested.

The web site hosting server will typically generate a “404 Not Found” web page when a user attempts to follow a broken or dead link; hence the 404 error is one of the most recognizable errors users can find on the web.

A 404 error should not be confused with “server not found” or similar errors, in which a connection to the destination server could not be made at all. A 404 error indicates that the requested resource may be available again in the future; however, the fact does not guarantee the same content. The most common reasons are:

1. Make sure the domain name is entered properly, including any necessary subdomains and subfolders.

2. Verify that the files which you are trying to open are in the correct directories. Often files are uploaded in the wrong directory or you are trying to open the wrong directory . You can check this using your cPanel -> File Manager or your preferred FTP program.

3. URL’s are case-sensitive. Verify that your URL employs the correct casing, then try again

Those are some of the most commonly seen errors and now you can easily diagnose what is the exact cause in just a few minutes. Of course if you have more questions you can always contact our genius support team 24/7. You can find more info about the other errors here:

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes