Who hosts a website, and what a CDN hides
Updated
A website name does not say where the site lives. It leads, through DNS, to one or more IP addresses, and each public address belongs to a network run by some organization. Looking at those addresses and the networks behind them is the quickest way to learn who serves a site.
From name to network
- DNS turns the name into addresses: A records for IPv4 and AAAA records for IPv6
- A name may be an alias (a CNAME) for another name, and the chain ends at the name that has the addresses
- Each address belongs to an autonomous system, a network with a number and an operator, which is the hosting company, cloud provider or internet provider
- The address owner may publish a reverse DNS name that often names the provider or data center
The front door, not the home
Many sites sit behind a content delivery network (CDN) or reverse proxy. A CDN keeps copies of a site close to visitors and absorbs attacks, so visitors talk to the CDN and never to the site's own server. Then the network you see is the CDN's, and the machine that stores the files is hidden behind it. An alias that ends in the name of a CDN is a strong hint.
Country, and why not a city
The country shown is a country-level estimate for the address. A network can run servers in many countries, and a CDN answers from the data center nearest the visitor, so the country says little about where a site's files are kept. Some CDN addresses are announced from hundreds of places at once, so they have no single location at all, and two tools that show a city can name two different ones for the same address. A city would claim a precision the data does not have.
Good to know. Several addresses on several networks is normal. It usually means a CDN, a load balancer or a site that deliberately uses more than one provider.
Related
- What is an ASN?How the internet is made of autonomous systems, what an AS number tells you about an address, and what it cannot tell you.
- Reverse DNS and PTR recordsHow an IP address can point back to a name, who controls that name, and why mail servers care.
- DNS records explainedWhat the common DNS record types (A, AAAA, CNAME, MX, NS, SOA and TXT) do, and what a TTL means for changes.
- WHOIS and RDAP: who registered a domainWhat a registration record shows, how RDAP replaced WHOIS, and why you rarely see the owner's name any more.
- TLS certificates explainedWhat the padlock in a browser means, how a certificate and its chain prove a site is genuine, why they expire, and the usual reasons one fails.
- Redirects and security headersWhat happens between typing a website's name and seeing the page, and the few response headers that switch on browser protections.