Skip to content

iphostingnetworking

Website IP Lookup: How to Find Your Website's IP Address

What is my website's IP address? Run a website IP lookup online, or use ping, dig or nslookup. Real output for example.com, IPv4 vs IPv6, shared vs dedicated IPs, and what changes when a CDN sits in front.
Piotr Kulpinski
09 Apr 2026•8 min read
Website IP Lookup: How to Find Your Website's IP Address

A website IP lookup turns a domain name into the IP addresses that browsers connect to, and usually adds where each address is and which network owns it. This post covers five ways to find the address, IPv4 and IPv6, shared and dedicated addresses, and what changes when a content delivery network (CDN) sits in front.

Quick Answer: To find your website's IP address, enter the domain into a website IP lookup tool, or run ping yourdomain.com or dig +short yourdomain.com A in a terminal. The address that comes back is where the domain points right now. If the site uses a CDN such as Cloudflare, that address belongs to the CDN, not to your origin server.

Why you need your website's IP address

  • DNS setup. An A record points a domain at an IPv4 address, and an AAAA record at an IPv6 address.
  • Server moves. After a migration, the lookup confirms the domain points at the new server.
  • Firewall and allow lists. Rules that allow or block traffic work on addresses, not names.
  • Troubleshooting. If the domain resolves to an address you do not recognize, the DNS records are wrong or someone changed them.

How to find your website's IP address

Method 1: Website IP lookup tool (fastest)

  1. Open the IP lookup tool.
  2. Enter your domain, for example example.com.
  3. Read the result: the IP address with its location, autonomous system number (ASN), network owner and reverse DNS name.

Try it yourself

Check any website's hosting

Enter a domain or IP to see hosting provider, DNS records, and more.

Our hosting check shows the same address next to the DNS records, the SSL certificate, the hosting provider and the CDN. To see every A and AAAA record at once, use the DNS lookup tool.

Method 2: ping

ping is on every major operating system.

macOS and Linux:

ping -c 1 example.com

Windows:

ping -n 1 example.com

The address appears in the first line:

PING example.com (104.20.23.154): 56 data bytes
64 bytes from 104.20.23.154: icmp_seq=0 ttl=59 time=10.001 ms

104.20.23.154 is one of example.com's addresses. ping shows only one, even when the domain has several. Some servers also block ping replies, but the first line still shows the resolved address.

Method 3: dig

dig returns every address the domain has:

dig +short example.com A
104.20.23.154
172.66.147.243

For IPv6 addresses, ask for the AAAA record:

dig +short example.com AAAA
2606:4700:10::6814:179a
2606:4700:10::ac42:93f3

Drop +short to see the TTL, the number of seconds a resolver may cache the answer:

dig example.com A +noall +answer
example.com.		145	IN	A	172.66.147.243
example.com.		145	IN	A	104.20.23.154

Method 4: nslookup

nslookup works on Windows, macOS and Linux. Add a resolver at the end to choose which DNS server answers, here Cloudflare's 1.1.1.1:

nslookup example.com 1.1.1.1
Server:		1.1.1.1
Address:	1.1.1.1#53

Non-authoritative answer:
Name:	example.com
Address: 172.66.147.243
Name:	example.com
Address: 104.20.23.154

"Non-authoritative" means the answer came from a resolver's cache, not from the domain's own name servers. The addresses are the same.

Method 5: Your hosting dashboard

If you run the server, your provider's control panel lists its address:

  • AWS EC2: the instance details show the public and private IPv4 addresses.
  • DigitalOcean: the Droplet page shows its IPv4 and IPv6 addresses.
  • Vercel and Netlify: the domain settings show the A record value to use.
  • cPanel hosts: the server information panel shows the account's IP address.

The dashboard is the most reliable way to see the origin server's address when the domain resolves to a CDN.

IPv4 vs IPv6

A lookup can return two kinds of address. example.com has both:

IPv4IPv6
FormatFour numbers from 0 to 255Eight groups of hexadecimal digits, with runs of zeros shortened to ::
example.com104.20.23.1542606:4700:10::6814:179a
Address space2³², about 4.3 billion2¹²⁸, about 3.4 × 10³⁸
DNS recordAAAAA

The free pool of IPv4 addresses has run out, so new IPv4 addresses are scarce and cost money. IPv6 has no such shortage. Google publishes the share of its users who connect over IPv6.

A site with both A and AAAA records is "dual stack": IPv6 visitors use the AAAA address, and everyone else uses the A address. If your site has no AAAA record, visitors on IPv6-only networks depend on their provider's translation to reach it.

Shared vs dedicated IP addresses

Shared IP

Many sites can share one IP address. This is how virtual hosting works: the browser sends the domain name with each request, in the HTTP Host header and, for HTTPS, in the TLS Server Name Indication (SNI) field. The server reads that name and returns the matching site.

Shared addresses are standard on shared hosting and on platforms such as Vercel, Netlify and Cloudflare. They cost nothing extra and work for almost every website. The downside is shared reputation: if another site on the address sends spam or hosts malware, some blocklists flag the address for everyone on it.

Dedicated IP

A dedicated IP belongs to one server or one customer.

  • It lets you reach the server by address, for example https://203.0.113.10 (a documentation address).
  • It gives you control of the address's reputation, which matters if the same server sends email.
  • It mattered for HTTPS on very old clients without SNI support, which needed one IP per HTTPS site. Current browsers all send SNI.
  • It costs more, because IPv4 addresses are scarce.

Most sites do not need a dedicated IP. It helps when you send a lot of email from the server, or when another system has to reach the server by a fixed address.

What if the IP points to a CDN?

If your site uses a CDN such as Cloudflare, Fastly, Amazon CloudFront or Vercel, the lookup returns the CDN's edge address, not your origin server. example.com shows this: both of its addresses belong to Cloudflare (AS13335), and IPinfo marks them as anycast, which means many Cloudflare data centers announce the same address. How to find what CDN a website uses covers detection in more detail.

How to recognize CDN addresses

CDNAddress clueHeader clue
CloudflarePublished ranges include 104.16.0.0/13 and 172.64.0.0/13server: cloudflare, cf-ray
FastlyPublished ranges include 151.101.0.0/16x-served-by: cache-...
Amazon CloudFrontNetwork AS16509 (Amazon)via: ... (CloudFront), x-amz-cf-pop
VercelVaries by projectserver: Vercel, x-vercel-id

Cloudflare and Fastly publish their full lists at cloudflare.com/ips and api.fastly.com/public-ip-list. The ASN in an IP lookup is often the quickest clue.

Finding the origin IP behind a CDN

For your own site:

  1. Check the hosting dashboard. The provider's control panel shows the server's real address.
  2. Log in to the server. Run curl https://ifconfig.me to see the public address it uses for outgoing traffic.
  3. Check the CDN settings. Cloudflare's DNS page, for example, shows the origin address behind each proxied record.

For someone else's site, the origin is meant to stay hidden. Old DNS records from before the site moved behind the CDN sometimes show it, but they may be out of date.

How the IP address affects your site

Location and speed

The address maps to a place, and distance to visitors adds delay. In a test from Kraków on 12 October 2026, a round trip to a server in Calgary took 147 ms, and to one in Germany 29 ms. How to check a website's server location shows how to find a server's country and city and why anycast addresses have no single location.

IP reputation

Mail providers and blocklists track the reputation of IP addresses. A poor reputation causes:

  • Email problems, if your mail goes out from the same address: messages land in spam or bounce.
  • Security warnings from tools that block addresses linked to malware or spam.

Unexpected IP changes

If your domain suddenly resolves to an address you do not recognize, check these causes:

  • Someone changed your DNS records, either a team member or an attacker with access to your DNS provider or registrar account.
  • A migration went wrong, and records still point at the old server.
  • Your CDN changed its routing. CDNs can change edge addresses without notice, so a new address inside the CDN's published range is normal.

Run a lookup after every DNS change to confirm the result. If you are signed in, past lookups stay in your dashboard history for comparison.

Frequently Asked Questions

What is a website IP lookup?

A website IP lookup resolves a domain name to its IP addresses through DNS. Most tools also show where each address is located and which network owns it. You can run one in a browser with an IP lookup tool, or in a terminal with dig, nslookup or ping.

Is my website's IP address the same as my computer's IP?

No. Your website's IP address belongs to the server that hosts the site. Your computer's IP address comes from your internet provider. They are the same only if you host the site on your own machine.

Can two websites have the same IP address?

Yes. Many sites can share one IP address. The browser sends the domain name with each request (in the Host header, and in SNI for HTTPS), and the server uses it to return the right site.

Does changing my hosting provider change my IP address?

Almost always. The new host gives you a server with a new address, and you update the domain's A record (and AAAA record, if you have one) to point at it. Until resolvers drop the old cached answer, some visitors still reach the old server.

Can someone find my location from my website's IP?

A lookup of your website's IP address shows where the server is, usually a data center, not where you are. If your site runs in a data center in Virginia, the lookup shows Virginia wherever you live.

Why does my website's IP address show Cloudflare?

Your domain sits behind Cloudflare's proxy. DNS returns Cloudflare's addresses, and Cloudflare forwards requests to your origin server. Your hosting dashboard or Cloudflare's DNS settings show the origin address.

Wrapping up

Your website's IP addresses are the values in its A and AAAA records, unless a CDN answers with its own edge addresses. Enter your domain into the IP lookup tool to see its address, location and network, or use the DNS lookup tool to list every A and AAAA record. If the network is a CDN, find the origin address in your hosting dashboard.

Piotr Kulpinski

Written by

Founder of HostingChecker.online and a web developer with over a decade of experience in DNS, hosting infrastructure, and domain management. Piotr builds tools that help developers and site owners understand their web stack. Other products: Highseat, OpenAlternative, EuroAlternative, Revinel and Dirstarter.

Free lookup tool

Check any website's hosting

Enter a domain or IP to uncover hosting details, DNS records, and server location.