Why Does “404 Error” Occur?

plabs.id
PLABS.ID
Published in
3 min readJul 14, 2021

--

Most of you are inquisitive of what a 404 error is and how can it occur when opening a URL? So let’s talk about it.

What is a “404 error”?

404 error, 404 not found, or HTTP 404 means “The requested resource was not found”. This indicates that the browser is able to communicate with a given server, but because the content of the website has been deleted or be replaced with another URL, thus the server that owns the website cannot display the website. Before we proceed to know about the 404 error, we have to understand HTTP.

What is HTTP?

Hypertext Transfer Protocol or commonly referred to as HTTP is a protocol in the network that is used for sending data packets or documents on the Internet (WWW or World Wide Web). HTTP itself is a protocol used for data communication in the internet world where HTTP is used for hypermedia distribution and information systems. In that sense, HTTP serves to format data packets that have been determined and transmitted into a data or file with a format that can be responded to by browsers (google chrome, Mozilla Firefox, Opera Mini, UC Browser, and so on).

404 Error and HTTP

404 is one of the HTTP status codes. Those codes are messages from the server letting you know how things went when it received the request to view a certain page and useful for diagnosing & fixing website configuration errors. HTTP status codes are divided into five classes. The first digit of the status-code defines the class of response, while the last two digits do not have any classifying or categorization role, there are:

1xx: Informational codes indicating that the request initiated by the browser is continuing and still in progress for some reason

2xx: Success codes returned when browser request was received, understood, and processed by the server.

3xx: Redirection codes returned when a new resource has been substituted for the requested resource.

4xx: Client error codes indicating that there was a problem with the request. These are error codes specifying that there’s a fault with your browser and/or request.

5xx: Server error codes indicating that the request was accepted, but the server failed to fulfill an apparently valid request.

Besides what is listed above, the “404 error” can also occur because:

  • Mistyping the URL
  • The server in charge of the website is not running or the connection is lost
  • The domain name entered does not exist (anymore)
  • The requested domain name could not be converted to IP by the domain name system (DNS)

How to solve the problem?

Here are some tips to solve the “404 error” on your screen:

1. Check up the URL you typed correctly.

2. Refresh the web page.

3. FInd for the web page you want to access from the search engine.

4. Clear the cache of the browser you are using.

5. Re-check the list of posts for those who have the web.

Now you have already known about the “404 error”, so don’t worry if “404 error” appears on your screen.

--

--

plabs.id
PLABS.ID

PLABS.ID is a technology company based in Indonesia since 2019, we're on a mission to simplify digitalization at every touchpoint.