Guide · Networking
How to Find a Website's IP Address
Updated 2026-08-12 · 4 min read
“What is the IP of this website?” is really “what A and AAAA records does this hostname have, as seen by a public resolver, right now?” That query sends the hostname. It cannot be completed inside your laptop’s RAM without asking DNS.
Use this when you are allow-listing an egress, confirming a cutover, or checking whether IPv6 exists. Do not use it to scan networks you do not operate, and do not type internal hostnames into a public box.
Domain to IP is the dedicated resolver. DNS Record Lookup shows the same addresses plus CNAME, MX, and TXT when the story is larger than “give me numbers.”
What “the IP” means on a modern site
Most public sites do not live on one machine under a desk. The hostname is a label. The addresses behind it are often:
- Anycast edges - many cities advertise the same IP; you hit the nearby one.
- Multiple A/AAAA records - the resolver returns a set; the client picks.
- A CNAME onto a CDN - the name you typed has no A of its own; the target does.
So the useful sentence is not “the site is 93.184.216.34.” It is “from this resolver, these addresses are currently published for this name.” Tomorrow the set can change without the company moving office.
If you need the full record mix, not just addresses, that is How DNS Records Work.
A versus AAAA, and why both matter
IPv4 is A. IPv6 is AAAA. Dual-stack hosts publish both. An IPv6-only mistake (forgotten AAAA after a rebuild, or the reverse) shows up as “works on my phone / fails on this laptop” depending on which stack the path prefers.
Domain to IP should list both families when they exist. If you only ever look at IPv4, you will miss a class of outages that Happy Eyeballs users still walk into.
A name with neither A nor AAAA, and no CNAME, is not a website yet. It may be mail-only, or a reserved label, or a typo.
CDN and anycast: one name, many answers
Resolve www of a large site from two countries and you may get different addresses. That is expected. Firewalls that pin “the” IP from a single lookup will break the next time the CDN rotates.
For allow-lists, prefer the vendor’s published IP ranges or a hostname-based allow when the product supports it. A one-shot A record is a snapshot.
Also watch the difference between apex and www. It is common for example.com and www.example.com to resolve to different places during a migration. Resolve the name users actually type, and the name your canonical tag points at.
How to resolve a public hostname
- Strip the URL down to a hostname.
https://www.example.com/path?q=1is not a DNS name;www.example.comis. - Confirm you are allowed to query it. Your zone, a public site you are debugging with permission, or a vendor’s documented endpoint: yes. A private hostname on someone else’s LAN: no.
- Open Domain to IP and submit the hostname. The tool sends that name to public DNS and returns A/AAAA.
- If the result is empty or only a CNAME story, switch to DNS Record Lookup.
- If you have an address and want the PTR name (mail logs, abuse), use Reverse IP Lookup. That sends the IP, not the original hostname.
Command-line equivalents (dig +short example.com A, dig AAAA) do the same class of thing: they also leave the machine. The web tool is the same contract with a simpler form.
What to do with the addresses
Firewall and NAT rules. Copy the current set, and plan for it to change. Document the hostname next to the IPs so the next person does not treat the numbers as eternal.
Comparing environments. Staging and production should not silently share an address unless you meant them to. A resolve of both names is the fastest check.
Reverse DNS. PTR is optional for websites and common for mail. A generic cloud PTR does not mean the site is “fake.” Read What Reverse DNS (PTR) Records Tell You before you over-interpret it.
TLS and HTTP. The IP is not the certificate name. Browsers validate the hostname in the certificate, not the A record. After you have addresses, SSL Certificate Checker and HTTP Header Viewer answer different questions - and they also contact the public host.
Addresses and names you should not submit
Do not put RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local, or loopback into a public reverse lookup and expect a useful story. Do not resolve *.internal corporate names through a public website.
If the host is yours and only reachable on a VPN, use dig against your internal resolver on a machine that is on that VPN. A public tool cannot see that view, and asking it to try is not a privacy-preserving trick - it is a failed query plus a name you should not have shipped off-network.
Resolve the hostname you are allowed to test
Open Domain to IP, enter a public hostname you are allowed to test, and read the A/AAAA set as a snapshot. If you need types beyond addresses, use DNS Record Lookup. If you already have an IPv4 address from a log line, Reverse IP Lookup is the other direction - and it sends that address on purpose.
Frequently asked questions
Does domain-to-IP stay fully local?
No. The hostname is sent to a public DNS resolver so A and AAAA records can be returned. Do not resolve internal names you do not own.
Why do I get more than one IP?
Load balancing and anycast CDNs publish multiple A or AAAA records. Any of them may be a valid edge. The set can also change by resolver location.
Is the IP the same as the company headquarters?
Almost never. The address belongs to a hosting provider, CDN, or cloud region. WHOIS on that block tells you the operator, not the editorial office.
What if there is no A record?
The name may be a CNAME, IPv6-only (AAAA only), or unused. Use DNS Record Lookup to see CNAME and AAAA, not only A.
Should I reverse-lookup every address I find?
Useful for mail and abuse logs. Optional for ‘why won’t this page load.’ PTR is a separate lookup and also sends the IP. See Reverse IP Lookup.
Can I resolve 127.0.0.1 or 10.0.0.0/8 through this tool?
Do not use a public lookup for loopback or private ranges. Those names and addresses are not meaningful on the public internet.
Related guides
More reading that links back to the same tools and workflows.
What Reverse DNS (PTR) Records Tell You
PTR lookups map IPv4 to a hostname. The address is sent to perform the lookup.
4 min read
How DNS Records Work: A, AAAA, MX, CNAME, and TXT
Read public DNS records to debug domains. Lookups send the hostname to resolve them.
5 min read
Why Chrome Says “Not Secure” (and What to Check First)
HTTP pages, mixed content, name-mismatch certificates, and expired TLS. How to tell a padlock problem from a DNS problem without scanning hosts you do not own.
12 min read
How to Check Security Headers on a Live Site
CSP, HSTS, X-Frame-Options, cookies, and noindex - what to look for in HTTP headers, how a header viewer helps, and what it will never prove.
7 min read