A domain name has to be translated into a numeric address before anything loads. That translation happens in steps, is cached at every one of them, and explains a surprising share of problems that look like outages.
Typing a domain into a browser does not connect you to anything yet. Machines on the internet are reached by numeric addresses, and a domain is only a label that has to be translated into one first. The system that performs the translation is the Domain Name System, described in Wikipedia's article on the Domain Name System. Everything else in a page load waits on it.
Your device rarely does the lookup itself. It asks a resolver, normally one run by your network provider or a public service you have configured. If the resolver does not already know the answer, it works through the name from the right:
Each step is a separate round trip across the network, which is why the first visit to an unfamiliar domain can feel slower than the second.
One domain normally has several of these pointing in different directions. A company's website and its mail can sit on completely separate systems.
Answers are stored at every level. The authoritative server attaches a time to live to each record, and resolvers are expected to reuse the answer until that period runs out; the idea is covered in Wikipedia's article on time to live. Caching is what keeps the system fast, and it is also why moving a site to a new server does not take effect everywhere at once. Until the old record expires in each cache, some visitors keep arriving at the old place. Operators planning a move usually lower the time to live in advance, so that the switch spreads quickly when they make it.
Different resolvers can return different answers for the same name, quite legitimately:
So "the site is down for me but not for you" is often a difference in resolution rather than a failure of the site.
Most people use the resolver handed out by whatever network they joined. Changing it changes two things: which answers you receive, and who sees the names you ask about. Ordinary queries travel unencrypted, so anyone on the path between you and the resolver can read them; encrypted transports exist to close that gap, among them the mechanism in Wikipedia's article on DNS over HTTPS. Encryption hides the query from the network, not from the resolver, which still sees every name you look up. Picking a resolver is really picking whom to trust with that list.
A successful lookup tells you where a name points. It says nothing about who is behind it. Anyone can register a name that resembles a real one and publish perfectly valid records for it, and the lookup will succeed exactly as it does for the genuine site. Reading the registered domain carefully is still the defence, as in spotting a cloned website.
The useful move in all three cases is the same: ask a second resolver the same question and compare the answers. If two resolvers disagree, the problem is in the lookup rather than at the server, and no amount of reloading the page will settle it.