Need help? Chat now!
Search results for:
Table of Contents
Tags: http errors
Many different error codes can be presented from a server when things go wrong. These can help troubleshoot the leading cause of the issue and fix the problem as soon as possible. The first digit of the status code a website gives allows us a broad understanding or group of what the issue may be.
A 500 error often will say something similar to this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, firstname.lastname@example.org, and inform them of the time the error occurred and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
When a site prompts a 500 Internal Server Error to show, it means it knows there is a problem, but it is still unable to deliver on the request for an unknown reason. This error often comes from a problem in the configuration of a script, and unfortunately, it won't provide any details about the situation.
Common causes for the 500 error:
It can be tricky to find the exact cause, but you should first look in cPanel's error logs. If that doesn't help you identify the problem, don't hesitate to contact Hostwinds technical support to help you get it fixed.
A 502 error presents when a server receives an invalid response from an inbound server.
When a site prompts a 502 Bad Gateway Error to show, it means that the server is a gateway or a proxy that forwards the request to another backend server and that it is not receiving a valid response to fulfill the request.
It can be tricky to find the exact cause, but you should first look in cPanel's error logs. If that doesn't help you identify the problem, don't hesitate to contact our technical support to help you get it fixed.
A 400 Bad Request Error is another standard HTTP status code. You will see this when the site receives a corrupt or problematic request to do something, such as run a script or display the content of a page.
If you see a 400 bad request error, first make sure you're trying to access the correct URL. If so, try to clear your cookies and your cache. If that doesn't work, clear your DNS cache. If all else fails, contact us and let us help you get it fixed.
The 401 Unauthorized Error is another HTTP status code, except that the server's user trying to access the specific resource will not authenticate. While not caused by having different permissions on the file, it can happen when a user does not enter the correct username and password in the .htpasswd file on the server in that same directory.
The .htpasswd file cannot be seen from the browser, as most configurations hide these types of files by default.
To resolve this error, ensure that you enter the correct username and password you may have set up in the .htpasswd file.
The 403 Forbidden Error occurs when the user requests a resource from the server, where the user or server does not have access to read or execute the file. It is commonly recommended for files to have their permissions set to 755 for directories and 644 files. Meaning that the user of the directory can read, write, and execute. The assigned group of the files can read and execute but not write. Everyone not included can read and execute the files but not write.
You can change file permissions on a Linux server within cPanel, or you can modify the file permissions from the command line, in which case you can use this article here.
Multiple things can cause the 404 Not Found error. This error code will show up because the resource or file that a user is looking for is not there. Coding of the site can cause this, the code of someone else's site, or by incorrectly typing in the wrong URL.
To fix this, if it is a coding issue on your site, go through your code, usually using the built-in find feature in most text editors, and find the link that is leading your users to an invalid page and correct it. For the most part, these are typically just Typos.
If you have any questions or need assistance, please get in touch with us through Live Chat or submit a ticket with our Technical Support team.
Written by Hostwinds Team / December 13, 2016