Website to IP Lookup

Find the IP addresses behind any website, and who hosts them.

To find a website's IP address (hostname to IP), enter its domain or paste its URL: we ask DNS for its A (IPv4) and AAAA (IPv6) records. Big sites return several IPs that change by location, and sites behind a CDN like Cloudflare show the CDN's IPs, not their server's.

Do it yourself

How to Find the IP Address of a Website

Enter the domain above, or run nslookup example.com (Windows) or dig +short example.com (macOS, Linux). ping example.com also prints one of the addresses before it starts.

Windows Command Prompt or PowerShell

nslookup example.com Resolve-DnsName example.com

The addresses are under Non-authoritative answer: the reply came from a caching resolver, not from the domain's own name server. A line Aliases means the name is a CNAME.

macOS / Linux Terminal

dig +short example.com A dig +short example.com AAAA host example.com

Without +short, dig shows the TTL: the number of seconds your resolver may keep the answer before asking again. Your resolver can answer differently from ours; the tool above uses Google Public DNS and can compare it with others.

Who Is Hosting This Website? Using It as a Hosting Checker

The network of a website's IP tells you who hosts it. The result opens with the answer, such as "example.com is served by Cloudflare" or "is hosted on the network of" a company, and shows the network of each address, with a badge when it's a CDN, a cloud or a hosting platform we recognise.

Every IP address belongs to a network (an ASN) run by one company. For a site on its own server, that company is the host: a hosting provider, a cloud such as AWS or Hetzner, or the site's owner. When the badge says CDN / proxy, visitors reach the CDN, and the real host is hidden behind it: no DNS lookup can name it. Four questions are often confused:

QuestionWhere the answer isTool
Who hosts the website?The network of the IP addresses the domain points toThis lookup
Who runs its DNS?The domain's name servers (NS records)NS lookup
Where was the domain registered?The registrar in the domain's registration dataDomain WHOIS
Who handles its email?The domain's MX records, often another companyMX lookup

One company can do all four, as with many shared hosting plans, or four different ones. The badge names only companies on our list; for any other IP, the network owner is shown without a guess.

Why Does a Website Have Several IP Addresses?

Large sites use GeoDNS and load balancing: each visitor gets a nearby server, so the IPs differ by place and time.

Diagram of why a website has several IPs: GeoDNS gives the nearest server, round-robin rotates through a pool, anycast shares one IP across many servers
Different IPs on different lookups are normal for large sites. (Documentation addresses.)
TechniqueHow it worksWhat you see
GeoDNSThe DNS server answers with servers near the resolver that askedDifferent IPs from different places
Round-robin DNSSeveral A records, given in a rotating orderSeveral IPs, in a changing order
AnycastMany servers share one IP; internet routing picks the closestThe same few IPs everywhere

A site with both IPv4 and IPv6 also has two lists: A records and AAAA records. Browsers try IPv6 first when your connection has it.

Can You Find the Real IP Behind Cloudflare?

Not from DNS: a proxied site shows Cloudflare's IPs, and the origin server stays hidden by design.

A visitor reaches a Cloudflare edge IP; the website's origin server behind it stays hidden.
DNS answers with the CDN's address; the CDN fetches the page from the origin server.

Visitors connect to the CDN, and the CDN fetches the page from the site's own server. That is what protects the server from attacks, so the CDN never publishes its address. Each result carries a badge that tells you what kind of address you are looking at:

  • CDN / proxyCloudflare, Akamai, Fastly, Amazon CloudFront and similar: the IP belongs to the CDN, not to the website's server.
  • Hosting platformVercel, Netlify, Shopify, Wix, Squarespace, WP Engine, GitHub Pages and similar: the site runs on the platform, whose IPs serve many sites.
  • Cloud hostingAWS, Google Cloud, Microsoft, Hetzner, DigitalOcean, OVHcloud and similar: the site's server or its load balancer.
  • Own networkGoogle, Meta, Apple and other companies that run their own network.

We only name companies we recognise from the CNAME or from the network number of the IP; anything else gets no badge. When an origin does leak, it is usually through an old DNS record from before the CDN was set up, or a subdomain such as mail. or ftp. that points straight at the server. Checking for such leaks is useful on your own domains; probing someone else's server to get around their protection can break the law and their terms of service.

What Is Google's IP Address?

google.com has many IP addresses that change by location; check its current ones live. Google's DNS server, which never changes, is 8.8.8.8.

See google.com's IP addresses now. YouTube runs on the same network, so www.youtube.com also returns Google addresses that vary by place. Lists of "Google IP addresses" on other sites are snapshots that go stale.

IP Addresses of the World's Most Visited Websites

How This Lookup Works

ResolverGoogle Public DNS (8.8.8.8), live, no cache on our side. Cloudflare (1.1.1.1) if Google does not answer. The result names the one used.
RecordsA (IPv4) and AAAA (IPv6), asked in parallel, and the CNAME chain the resolver followed to reach them.
TTLAs the resolver returns it: the seconds left before it asks the domain's name servers again.
Compare resolversOn request: Google, Cloudflare, Quad9 and the domain's authoritative name servers, asked directly.
Country and networkFrom the MaxMind GeoLite2 databases on our server. This product includes GeoLite2 data created by MaxMind, available from maxmind.com.
Provider badgeOur own short list of CDN, cloud and platform CNAME suffixes and network numbers (ASNs). No match, no badge.
Last verified

Frequently Asked Questions

How do I find the IP address of a website?
Enter its domain in the box above. You get every IPv4 and IPv6 address the site uses right now, with the country and network of each, and the CDN or hosting company when we recognise it. Without a tool, run nslookup example.com on Windows or dig +short example.com on macOS and Linux.
How do I convert a URL or hostname to an IP address?
Paste the whole URL, such as https://www.example.com/page, in the box above. Only the hostname, written as a fully qualified domain name or FQDN (www.example.com), decides the IP address, so the lookup keeps that and drops the scheme, port, path and query. Note that example.com and www.example.com are separate names that can point to different IPs.
How do I find out who hosts a website?
Enter the domain above. Each IP shows the company that owns its network, and a badge names the CDN, cloud or hosting company when we recognise it from the CNAME or the network number. If the badge says CDN (Cloudflare, for example), the site's real host is hidden behind it and DNS can't reveal it. Who registered the domain is a different question: see the domain WHOIS lookup.
What is Google's IP address?
Google uses many IP addresses that change by location, so there is no single answer: look up google.com for the ones you get now. If you mean Google Public DNS, its addresses never change: 8.8.8.8 and 8.8.4.4 (IPv6 2001:4860:4860::8888 and 2001:4860:4860::8844).
Why do I get a different IP address each time?
Big sites balance their traffic. GeoDNS gives each resolver the servers closest to it, and round-robin DNS rotates through a pool of addresses. Both are normal; the comparison button on a result shows what Google, Cloudflare, Quad9 and the domain's own name servers answer.
Can I find the real server IP of a site behind Cloudflare?
Normally no. Cloudflare hides the origin server on purpose, and DNS only shows Cloudflare's addresses. Old DNS records or subdomains that bypass Cloudflare sometimes reveal it, which is why site owners should check their own setup.
Can I visit a website by its IP address?
Sometimes. A server that hosts one site may show it. Shared hosting and CDNs serve many sites from one IP and need the domain name to know which site you want, so typing the IP gives an error or a default page.
What is the difference between this and a reverse DNS lookup?
This tool goes from a name to its IP addresses (A and AAAA records). A reverse DNS lookup goes the other way, from an IP address to the hostname in its PTR record, and many IPs have none.

Next steps

Related Tools

Reverse DNS Lookup
The other direction: the hostname behind an IP address, from its PTR record.
DNS Lookup
Every record of a domain (MX, TXT, NS, CAA and more), from the resolver of your choice.
CNAME Lookup
Follow an alias to its final name and spot a dangling CNAME.
Ping
Check that a website's server answers, and how fast.
SSL Certificate Checker
The certificate a site presents: issuer, expiry and the names it covers.