Domain into IP
Enter a URL
About Domain into IP
Domain to IP: find the IP address of any website
To find the IP address of a domain, enter the domain name, for example wikipedia.org, and the tool asks the Domain Name System (DNS) which server address the name points to. Domain into IP lists every IPv4 and IPv6 address of the name, each with the country its IP network is registered in and the company that runs it, such as a hosting provider or a CDN. It is free, needs no sign-up and works with a bare domain, a full URL or an IP address.
People type names, but computers connect to numbers. Every time you open a website, your device first turns the name into an IP address with a DNS lookup, then connects to that address. Most of the time you never see the number. You need it when you move a site to a new host, set up a firewall rule, check whether a site is behind a CDN, or want to know who runs the server. This guide shows how to use the tool, explains A and AAAA records, and covers the reasons a domain can have more than one IP or a different IP depending on where and when you ask.
How to look up the IP address of a domain
- Enter the domain. Type or paste a domain such as
example.cominto the box. A full address likehttps://www.wikipedia.org/wiki/Main_Pagealso works: the tool removeshttp://,https://and the path, and keeps the host name exactly as you typed it, includingwww.. - Click Submit. Our server resolves the name with DNS and then asks the regional internet registry who the IP address belongs to.
- Read the result table. You get four columns: the domain, its IP address, the country of the network and the ISP, meaning the organization that holds the address block.
- Check another domain. Click "Try New URL" to start again.
How to read the result
- Domain is the host name that was looked up, without the scheme and the path. If the name is an alias (a CNAME record), a line "Alias of" below it shows the name the addresses really belong to.
- IP lists every address DNS returned to our server: IPv4 addresses (A records) first, then IPv6 addresses (AAAA records), each marked IPv4 or IPv6. A line below the table says how many addresses were found.
- Country is the country stored in the registry record of the IP network. It usually matches the data center, but not always. Large companies often register all their addresses in their home country even when the servers stand elsewhere.
- ISP is the organization or network name from the same registry record. For a site on shared hosting you will see the hosting company. For a site behind a CDN you will see the CDN, for example Cloudflare. For a company that runs its own network, like Wikimedia, you see its own network name.
In the example above, the network name Wikimedia-esams-infra tells you even more: "esams" is the name of Wikimedia's data center in Amsterdam. Someone who looks up wikipedia.org from America or Asia will get a different address, as explained below.
A and AAAA records: IPv4 and IPv6
DNS stores the address of a domain in records. Two record types matter for this tool:
- A record points a name to an IPv4 address, four numbers from 0 to 255 separated by dots, such as
192.0.2.10. Almost every website has at least one. - AAAA record (said "quad A") points a name to an IPv6 address, eight groups of hexadecimal digits, such as
2001:db8::10. The name comes from the size: an IPv6 address is four times as long as an IPv4 address.
Many sites publish both, and modern devices try IPv6 first when their network supports it. Domain into IP shows both kinds, every A and every AAAA record, so a name that has only IPv6 addresses works too. A domain can also use a CNAME record, which says "this name is an alias of another name". The tool follows the alias automatically, shows the addresses at the end of the chain and names the target under "Alias of". For the mail servers and every other record of a domain, use our Find DNS Records tool.
Why a domain can have several IP addresses
A single IP address is the simple case. Busy sites often have more, for good reasons.
Load balancing with several A records
A domain can have two, four or more A records. The DNS answer then lists all of them, often in a changing order, and clients usually connect to the first one. This spreads visitors across several servers and keeps the site up when one of them fails. When we tested example.com, its DNS answer contained two IPv4 and two IPv6 addresses, and the tool listed all four. The order can change from one check to the next, and some large sites rotate through more addresses than a single answer contains. That is normal and does not mean the site has moved.
CDNs and reverse proxies
A content delivery network (CDN) such as Cloudflare, Fastly, Akamai or Amazon CloudFront sits in front of the real web server. DNS points the domain to the CDN, the CDN receives every visitor and fetches pages from the hidden origin server. That is why the tool shows the CDN's address and the CDN as ISP. The origin server's IP is deliberately not in DNS, and no public lookup can reveal it.
Anycast: one address, many places
With anycast, the same IP address is announced from many data centers around the world at once. Internet routing then carries each visitor to the nearest one. Most CDNs and many public DNS services work this way. The IP you see is the same everywhere, but the machine that answers you is not. So a country in the result does not prove where your request was served.
Why the IP may differ by location or over time
GeoDNS
Some name servers answer differently depending on where the question comes from. This is called GeoDNS or geo-routing. A visitor in Europe gets the address of a European data center, a visitor in Asia gets an Asian one. Wikipedia works like this, which is why our test showed an Amsterdam address. Our tool always asks from our own server, so it shows the answer for that location. If you need to know what visitors in another country see, ask a DNS resolver in that region or ask a colleague there to run nslookup.
TTL and DNS caching
Every DNS record has a time to live (TTL) in seconds. A TTL of 3600 means resolvers, the DNS servers of internet providers and companies, may keep the answer for one hour before they ask again. Your computer and browser keep their own short cache too. When a domain owner changes an A record, some people still reach the old address until their cached copy expires. This delay is often called DNS propagation, although nothing is actually pushed anywhere; old copies simply run out.
If our tool shows the new IP but your browser still opens the old site, your own device or provider still has the old answer. Wait for the TTL to pass, or clear your local DNS cache. On Windows run ipconfig /flushdns; on a Mac run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.
Shared hosting: many domains on one IP
The opposite case is also common: hundreds or thousands of domains on the same IP address. On shared hosting, and on every CDN, one server answers for many sites. The browser tells the server which site it wants in the Host header and, for HTTPS, in the SNI field of the TLS handshake. The server then picks the right site and the right certificate.
This has practical consequences. If you type a shared IP into the browser, you usually get an error page or some other site, not the one you looked up. Two unrelated sites with the same IP are not necessarily connected; they may simply use the same host. And a shared IP alone does not harm your search rankings. Google has said many times that sharing an IP with other sites on the same host is not a ranking problem. What matters is your own content and whether your server is fast and reachable.
What you can use a domain's IP address for
Checking a DNS migration
When you move a site to a new server, you change its A record to the new IP. Look the domain up afterwards: if the tool shows the new address, public DNS has the change and new visitors will reach the new server. Tip: lower the TTL to 300 seconds a day before the move, so the old address disappears from caches within minutes, and raise it again once everything works. Also check the www version and any subdomains, because they often have their own records. The tool checks the name exactly as you enter it, so look up example.com and www.example.com separately.
Firewall rules and allowlists
Firewalls, server access lists and some APIs work with IP addresses, not names. To allow your server to reach a partner's service, you may need its IP. Be careful: an address that comes from a CDN or a load balancer can change without notice, and it is shared with many other sites. Blocking a CDN address can block far more than you intended, and allowing one opens the door to every site behind it. Where the other side publishes official IP ranges, use those ranges instead of a single lookup.
Checking whether a site is behind a CDN
If the ISP column names Cloudflare or another CDN, the domain is proxied. That explains why changes on the origin server may take a while to appear (the CDN caches pages), why a firewall on the origin sees the CDN's addresses instead of visitors, and why the "real" server IP is hidden. If you expected the site to use a CDN and the ISP column shows your hosting company instead, the CDN is not active for that name.
Finding the hosting company
For sites without a CDN, the ISP column usually names the hosting provider or data center. That helps when you need to report abuse, find out where a client's site is hosted, or check that a new host has really taken over. Our Domain Hosting Checker focuses on that question, and the WHOIS Checker shows who registered the domain itself.
Common mistakes
- Treating the country as the server location. It is the country in the registry record of the network. With anycast and global companies, the server you reach can be on another continent.
- Expecting the origin IP behind a CDN. A public DNS lookup shows only what is published. If the domain is proxied, you see the proxy.
- Comparing results from different places. GeoDNS and load balancing can give different but correct answers to different people at the same moment.
- Forgetting the cache. A record that was changed minutes ago may still show the old value in some places until the TTL has passed.
- Assuming bare domain and www are the same.
example.comandwww.example.comare separate DNS names and can point to different addresses.
What the tool does not show
Domain into IP gives one quick answer: the IPv4 and IPv6 addresses of a host and who owns each network. It does not look up other record types such as MX or TXT, and it shows at most 12 addresses. It checks the name exactly as you enter it, so www.example.com and example.com are separate lookups, and subdomains such as en.wikipedia.org are kept. You can also enter an IP address to see its country and network owner. If a name has no address at all, for example because the domain does not exist or is misspelled, the tool says clearly that it could not find an IP address for it. In that case check the spelling, then look at all records of the domain with Find DNS Records.
Find a domain's IP from the command line
You can do the same lookup on your own computer. On Windows, macOS and Linux, nslookup example.com prints the IPv4 and IPv6 addresses your resolver returns. On macOS and Linux, dig +short example.com A lists every IPv4 address and dig +short example.com AAAA every IPv6 address. dig example.com without +short also shows the TTL of each record. Running the command on your own machine is a good way to compare your local, cached answer with the answer our tool gets.
Frequently asked questions
How do I find the IP address of a website?
Enter the domain, such as example.com, in Domain into IP and click Submit. The tool shows its IPv4 and IPv6 addresses, the country of each network and the company that runs it. On your own computer you can also run nslookup example.com.
What is the difference between an A record and an AAAA record?
An A record points a domain to an IPv4 address such as 192.0.2.10. An AAAA record points it to an IPv6 address such as 2001:db8::10. Many sites have both, and this tool lists both.
Why does a domain have more than one IP address?
To share traffic across several servers, to stay online when one fails, or because the site uses a CDN. Several A records, anycast and GeoDNS all lead to more than one possible address.
Why do I see a different IP than my colleague?
The site may use GeoDNS or load balancing, which give different answers by location or rotate addresses. Or one of you still has an older answer in the DNS cache because the TTL has not run out yet.
Can I find the real server IP behind Cloudflare?
Not with a DNS lookup. When a domain is proxied by Cloudflare or another CDN, public DNS returns only the CDN's addresses. The origin server's IP is kept private on purpose.
Can many websites share one IP address?
Yes. On shared hosting and CDNs, thousands of domains can use the same IP. The server tells them apart by the host name the browser sends. Sharing an IP does not hurt your search rankings.
Is this tool free?
Yes. Domain into IP is free and needs no account. You can check as many domains as you like, one at a time.