Website to IP Address Lookup

Paste a link straight from the address bar. The page pulls the host name out of the URL, asks public DNS for its addresses, follows every CNAME hop, and names the CDN or host when the records give it away.

Paths, query strings, ports, and logins are fine in the box. Only the host name leaves your browser, and the query goes to the resolver picked above.

https://toolexe.com/json/beautifier?indent=2

Only the highlighted host goes to DNS. Load sample fills the box with this Toolexe page URL and runs it.

Which part of the URL gets looked up

DNS knows nothing about pages. It stores records for host names, so a link has to be cut down to its host first. Your browser does the same cut on every click. Here is what the box sends for a few messy inputs:

You pasteSent to DNSWhy
https://toolexe.com/json/beautifier?indent=2toolexe.comPath and query belong to the web server, not DNS.
HTTPS://WWW.Toolexe.COM/www.toolexe.comHost names ignore case. The www label stays, since www is a separate name.
staging.toolexe.com:8443/loginstaging.toolexe.comThe port matters to the connection, never to the lookup.
café.toolexe.comxn--caf-dma.toolexe.comNon-ASCII names travel as Punycode. The result card shows both forms.
http://[2606:4700:4700::1111]/NothingThe host is already an address. Use IP to Hostname to go the other way.

Why your answer differs from a colleague's

The CDN picked a nearby edge

Cloudflare, Akamai, Fastly, and CloudFront answer with servers close to the resolver asking. A lookup from Karachi and one from Toronto get different addresses for the same name, and both are correct.

The resolver passed on your location, or didn't

Google Public DNS forwards a trimmed version of your network address (EDNS Client Subnet). Cloudflare 1.1.1.1 drops it. Switch the resolver above and a CDN-hosted site often changes city.

A cached answer outlived a change

Each record carries a TTL in seconds, printed on every hop in the path. Your laptop, your router, and your ISP each keep the old answer until the TTL runs out. A 3600 TTL means up to an hour of stale results after a move.

Round robin shuffled the list

Sites with several A records return all of them in a rotating order. Browsers try the first one. The set stays the same, only the order moves.

Reading the CNAME chain

A CNAME says "this name is an alias, ask about that one instead". Most hosted sites sit behind one or two hops, and the last hop's suffix names the platform even when the IP alone tells you little. The suffixes this page matches:

.cdn.cloudflare.net
Cloudflare. Proxied sites skip the CNAME and answer with Cloudflare addresses directly, which the page also detects.
.cloudfront.net
Amazon CloudFront. .elb.amazonaws.com means an AWS load balancer with no CDN in front.
.akamaiedge.net, .edgekey.net
Akamai, common on banks, airlines, and large retailers.
.fastly.net
Fastly, behind many news sites and package registries.
.azureedge.net, .azurefd.net
Microsoft Azure CDN or Front Door.
.github.io, .netlify.app, .vercel-dns.com
Static and frontend hosts. GitHub Pages also answers on 185.199.108.0/22 for bare domains.

No CNAME and an address outside every known range usually means a VPS or a dedicated server. Run that address through IP to Hostname. A PTR such as static.12.34.56.78.clients.your-server.de points to Hetzner, for example.

Testing a new server before DNS moves

You are moving a site to a new host and want to see it running there before switching the records. Pin the name to the new address on your own machine only:

  1. One request with curl. No files change. The --resolve flag sends the request to the address you give while keeping the real name for TLS and the Host header. curl -sI --resolve toolexe.com:443:203.0.113.20 https://toolexe.com/
  2. A browser session with the hosts file. Add one line, address first. On Windows the file is C:\Windows\System32\drivers\etc\hosts and needs an editor opened as administrator. On macOS and Linux it lives at /etc/hosts. 203.0.113.20 toolexe.com www.toolexe.com
  3. Flush the old answer. Windows: ipconfig /flushdns. macOS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Linux with systemd: resolvectl flush-caches. Chrome keeps its own cache, cleared at chrome://net-internals/#dns.
  4. Remove the line afterwards. A forgotten hosts entry keeps you on the old server long after everyone else moved, and the cause is hard to spot weeks later.

The result card above fills both commands with the first address it found, ready to paste.

Where this lookup stops

  • The origin behind a CDN stays hidden. A Cloudflare-proxied site shows Cloudflare's edge addresses. The real server is hidden on purpose, and no DNS query reveals it.
  • Internal names fail. intranet.corp, .local, and .lan names live on private DNS. The page refuses them instead of sending a query bound to return NXDOMAIN. Run nslookup on the company network.
  • One IP, many sites. Shared hosting puts hundreds of domains on one address. The address alone does not identify the site owner.
  • A records only, no other types. For MX, TXT, and NS records in one view, use the DNS Lookup page.

Website IP questions

Changing addresses, direct IP access, privacy, and the www split.

Why does a big site show a different IP each time I look?

Sites on a CDN hand out addresses from a pool and rotate them, often with a TTL of 60 seconds or less. The resolver also matters. Google Public DNS passes part of your network address to the CDN, Cloudflare 1.1.1.1 does not, so the two resolvers often return edge servers in different cities for the same name.

Will typing the IP into a browser open the website?

Rarely. One address on a CDN or shared host serves thousands of sites, and the server picks the site from the name your browser sends. Cloudflare answers a bare IP with error 1003, Direct IP access not allowed. To reach one server on purpose, keep the name and pin the address with curl --resolve or a hosts file line.

Does Toolexe see the URL I paste?

No. Your browser splits the URL itself and sends only the host name to the resolver you pick, Cloudflare or Google. The path, query string, login part, and fragment stay in the page.

The site loads in my browser, so why does this page say NXDOMAIN?

Three usual causes. The name is mistyped, a domain was registered minutes ago and the parent zone has not caught up, or the name exists only on an internal DNS server at your office or in your hosts file. Public resolvers never see internal names.

Why do toolexe.com and www.toolexe.com return different addresses?

The bare domain and www are separate DNS names with separate records. A common setup points www at a host with a CNAME, while the bare domain uses A records or a redirect service. Different addresses are fine as long as one name sends a 301 to the other. Tick the www box to compare both in one run.

Does the IP tell me where the company is based?

No. A site behind a CDN resolves to the edge server nearest the resolver, so a shop based in Lahore shows an address in Frankfurt for a visitor in Germany. Even without a CDN, the address points at a rented data center, not an office.