How to Find Out Where a Website Is Hosted
There are three honest ways to find out where a website is hosted: a lookup tool, the DNS commands built into your computer, and the registrar's public record. This guide shows each one, how to read what it gives you, and what to do when the site is your own and you no longer know who hosts it.
Updated
Check a website's hostFirst: which company are you looking for?
"Who hosts this website" can mean four different companies, and each is found from a different record:
| Company | What it does | Where it shows |
|---|---|---|
| Web host | Runs the server the pages come from | The site's alias (CNAME) and addresses (A, AAAA), and the network those addresses are in |
| CDN or proxy | Answers visitors in front of the host, when there is one | The addresses: they are the CDN's, not the server's |
| DNS provider | Runs the name servers that hold the domain's records | The NS records |
| Registrar | Keeps the domain registered; its account sets the name servers | The registry's RDAP or WHOIS record |
| Email provider | Receives the domain's mail | The MX records |
Way 1: a lookup
The hosting checker on this site reads all of these records at once and names each company, with the records each answer rests on. It never contacts the website. Behind a CDN such as Cloudflare it says the host is hidden rather than naming the CDN as the host. Single answers have their own pages: the Cloudflare checker, the domain registrar lookup, the website IP lookup and the email provider lookup.
Way 2: ask the DNS yourself
Every Mac has dig in its Terminal, and so do most Linux systems; Windows has nslookup at the command prompt. Replace example.com with the site, then run:
| Question | Mac or Linux | Windows | What the answer means |
|---|---|---|---|
| Its addresses | dig +short example.com A and dig +short example.com AAAA | nslookup example.com | The IPv4 and IPv6 addresses visitors connect to |
| Its alias | dig +short www.example.com CNAME | nslookup -type=CNAME www.example.com | A name such as one ending in a platform's own domain often names the host outright |
| Its name servers | dig +short example.com NS | nslookup -type=NS example.com | The DNS provider, by the names of its servers |
| Its mail servers | dig +short example.com MX | nslookup -type=MX example.com | The email provider; the lowest number is tried first |
| An address's reverse name | dig +short -x 192.0.2.1 | nslookup 192.0.2.1 | A name the network gave the address, which often contains the host's domain |
An address alone does not name the company. To turn it into a network, look it up in a public table of announced address ranges, such as the public-domain table at iptoasn.com, which gives the network's number and registered name. A real example: on November 22, 2026, dig +short tiff2pdf.app A, a site from the same publisher as this one, printed 216.150.16.1 and 216.150.1.1. Those addresses are announced by Amazon's network (AS16509), but the site is hosted on Vercel, which uses that network. The name servers it printed end in ns.cloudflare.com, so Cloudflare runs its DNS. Reading the network alone would have given the wrong host.
Way 3: the registrar, from RDAP or WHOIS
The registrar comes from the registry, not from the DNS. ICANN, which coordinates domain names, runs a free lookup at lookup.icann.org: type the domain and read the registrar section of the result. Its records come from RDAP, which ICANN describes as the replacement for WHOIS. On a Mac or Linux computer you can ask RDAP directly with curl -L https://rdap.org/domain/example.com: rdap.org sends the question on to the registry, and the answer names the registrar and the registration and expiry dates. Some endings, among them .io, .co, .us, .de and .me, had no RDAP service in IANA's list on November 20, 2026; their registries' own websites may have a lookup.
The owner's name and contact details are usually redacted in these records, under ICANN's Registration Data Policy (in effect since August 21, 2025).
Reading what you find
If the addresses are in Cloudflare's network, or in another CDN's, the host is hidden: the CDN answers for the server and no public record names it. If an alias ends in a platform's domain, that platform is the host, whatever network its addresses are in. If the network is a company you do not recognize, it can be a small host, a reseller of another company's servers or a data center; searching its registered name usually tells you which. No public record gives a server's location: a network is registered in one country and can run servers anywhere.
And get it back: when you have lost track of your own site
A common case: someone else set up the site years ago, that person is no longer available, and you need to change something. Whoever controls the domain controls where the site points, so start with the domain, then find the host.
- Search your email and bank statements for the domain's name and words such as "renewal", "invoice" and "hosting". Google's help for its business customers starts the same way: billing records about the registration or transfer of a domain name the registrar. A hosting invoice names the host.
- Find the registrar with the domain registrar lookup or ICANN's lookup, if you found no invoice.
- Get into the registrar account. Use the registrar's password reset, or contact its support with proof that the domain is yours, such as the billing details. If the domain was bought through a reseller (a designer or a site builder), Google's help notes that the account may be with that reseller instead.
- Read the name servers and records in that account, or look the site up here: the alias and the addresses show which company hosts it, and the name servers show who runs the DNS.
- Contact that host's support with the domain name and your proof of ownership, and ask how to recover the hosting account.
- Keep a copy of the site's files and database once you are in, before any other change, and renew the domain if it is close to expiring.
To move to another host, set up the site there first, check it, and only then change the DNS records (or the name servers) at your registrar or DNS provider to the new host's. Some visitors may reach the old host until the change has spread, so cancel the old plan last.