Before the browser can ask the server for the page, it needs to find the server's IP address. This is done by asking a DNS server to translate the website name into an IP address.
The browser first looks up the IP address (DNS lookup), then sends the HTTP request, receives the data, and finally renders the page.
HTTP (HyperText Transfer Protocol) is the standard protocol used by browsers to request and receive web pages.
HTTPS adds encryption to protect data sent between the browser and server, making it secure. HTTP sends data in plain text.
If DNS lookup fails, the browser does not know the server's IP address and cannot send the request, so it shows an error.
