Skip to content
EuroVPSEuroVPS

How to troubleshoot common http error codes

EuroVPS FAQ

Updated 2 min read

The HTTP status code is the first clue. The common ones:

Bad request 400 

The 400 Bad Request Error is an HTTP response status code that indicates that the server was unable to process the request sent by the client due to invalid syntax. Your client/browser may be trying to send a file that’s too big, the request could be malformed in some way, the request HTTP headers could be invalid, and so forth. 

Unauthorized 401 

The web server is not supposed to serve the HTTP request sent by the client, this can be from the specific configurations enabled in the server or from errors with it. The web servers can be configured to serve the hosted sites or parts of it based on the request location, requested device types etc.

Forbidden 403 

This response code will be served if the request is to something forbidden (specific configuration files, .htacces files etc) or this can also happen from permission errors with the hosted files which will then be unmanageable by the web servers.

Not found 404 

The requested resource is unavailable in the server, this can be specific files, broken URLs etc. 

We've written a detailed blog post about how to debug 400 error codes here . 

Internal Error 500 

The server encountered a condition which makes it unable to serve the requested resources. This error code means there is something wrong with the hosted server in which the web server/related applications are running without its software requirements satisfied. This can happen with memory, disk, I/O outages.

Bad Gateway 502 

This can happen when the backend application servers are not available. For example, if the front end web servers are unable to contact the upstream servers hosted in the same server or another remote server.

Service Unavailable 503 

This can happen from any temporary errors like a connection timeout to a requested resource, a failure with the application pools in case of IIS etc.

Gateway Timeout 

This can happen when the frontend web server is not getting a response from the upstream servers within the configured timeout period. This can be solved by increasing the timeout periods for the web servers for respective upstream services.

Too many redirects 

A redirect loop. Check the rules in .htaccess, remove duplicates and combine the valid redirects.

From the EuroVPS FAQ.

More in how to

Your next infrastructure partner

Still have
a question?

Tell us what you are trying to do. An engineer will read it and reply.

+357 222 32280
A EuroVPS engineer carrying a server node on the datacenter floor
A conversation with the people
who will look after your infrastructure.

Let’s start with your setup.

A little context helps us start the right conversation.

We’ll use your details to respond to your enquiry. Privacy policy