Account

Guides

How to find out who hosts a website

A site's hosting provider is not printed on the page, but it can almost always be found from the IP address, the reverse PTR record and the network number (ASN). You may need it before a migration, when buying someone else's project, or to file an abuse complaint. Two things can mislead you along the way: a CDN in front of the site and shared hosting sold under another brand.

Check your site

>
  1. Find the site's IP address

    Open a terminal and run nslookup your-domain or ping your-domain; the reply shows the IP from the A record. Windows has nslookup, and on Linux and macOS dig +short your-domain is handier. Unless a CDN sits in front, this is the IP of the server the site actually runs on.

  2. Check the reverse (PTR) record

    The PTR record, or reverse DNS, often names the host's server directly. Run nslookup IP or dig -x IP; the answer may look like server123.provider-hostname.net. The name in the PTR is usually the fastest way to recognise the host.

  3. Identify the network (ASN) and its owner

    Every IP block belongs to an autonomous system (ASN), and the ASN's owner is the network operator the host rents bandwidth or racks from. You can look up the ASN and the organisation name through WHOIS on the IP or in Team Cymru data. Sometimes the ASN belongs to the host itself, sometimes to a larger data centre the host sits in.

  4. Run WHOIS or RDAP on the IP

    WHOIS on the IP (RDAP is its modern form) shows which organisation the block is registered to, the country and the abuse contact. This helps when the PTR is empty or says nothing useful. Domain WHOIS and IP WHOIS are separate lookups: the first shows the registrar, the second the network owner.

  5. Check whether a CDN is in front

    If the IP belongs to Cloudflare, Fastly or another CDN, you are looking at a proxy, and the real hosting is behind it. The ASN gives it away; Cloudflare addresses often have no PTR at all. The domain's nameservers and MX records are only hints in that case: behind Cloudflare the nameservers are usually Cloudflare's own, and mail often runs through a separate provider.

  6. Allow for resellers and shared hosting

    On cPanel/LiteSpeed shared hosting dozens of sites share one IP, and the PTR shows the data centre's server name without the brand you bought the hosting from. The network owner and the company you paid can therefore differ, and that is normal.

How to verify the result

The free SpoofLens hosting checker (Who hosts this site) runs the whole chain at once. It shows the detected host, the IP, PTR, ASN and network operator, plus the DNS and mail provider and whether a CDN is present. If your manual results match it, you did it right.

Tip: The most common mistake is taking a CDN for the hosting. If the ASN says Cloudflare, the real server is hidden behind a proxy and the visible IP does not name the host. The nameservers and MX records may hint at it, but often they point to Cloudflare and to a mail provider.

Related guides