How to Find Where a Website Is Hosted
Find out where any website is hosted using DNS lookups, IP address checks, and hosting detection tools. Useful for domain management and troubleshooting.
Finding Out Where a Website Is Hosted
You need to know where a website is hosted. Maybe you're migrating a site and need to find the current server. Maybe you're buying a domain and want to know what infrastructure comes with it. Maybe a client's site is down and you need to contact the right hosting provider.
Whatever the reason, there are several reliable ways to find out, and none of them require the website owner's cooperation.
Why You'd Need to Know
Before diving into the methods, here are the common scenarios:
Troubleshooting
Site is down or slow. You need to know which hosting provider to contact or check for status issues.
Migration planning
Moving a site to a new host. You need to know what you're moving from.
Due diligence
Evaluating a website or domain purchase. The hosting setup tells you about the site's infrastructure and costs.
Competitive research
Curious what hosting your competitors use. Hosting choice can indicate budget, traffic levels, and technical sophistication.
Security investigation
Tracking down the source of spam, phishing, or malicious content. Hosting providers can take action on abuse reports.
Important: Hosting and Domain Registration Are Separate
Before we go further, understand this: where a domain is registered and where a website is hosted are two different things.
- Domain registration (registrar): Where the domain name is managed. GoDaddy, Namecheap, Cloudflare, etc.
- Web hosting: Where the website files actually live. AWS, DigitalOcean, Vercel, a shared hosting provider, etc.
You can register a domain at Namecheap and host the website on AWS. You can register at Cloudflare and host on a VPS at Hetzner. They're independent services connected by DNS records.
DNS is the bridge between the two. Your domain's DNS records (managed at your registrar or a DNS provider) point to the IP address of your hosting server.
Method 1: DNS Lookup (A Record)
The most direct method. Your domain's A record points to the IP address of the server hosting the website. That IP address belongs to a hosting provider.
Look up the domain's A record
Use a DNS lookup tool like dnschecker.org, mxtoolbox.com, or the command line. You're looking for the A record — the IPv4 address the domain points to.
Note the IP address
The A record will show something like 104.21.55.123 or 185.199.108.153. This is the server's IP address.
Look up the IP address owner
Use an IP lookup tool (next method) to find which hosting provider owns that IP range.
Command line version:
dig example.com A +short
Or on Windows:
nslookup example.com
CDNs complicate things
If the site uses a CDN like Cloudflare, Fastly, or AWS CloudFront, the A record points to the CDN, not the origin server. You'll find Cloudflare's IP, not the actual hosting provider behind it. More on this below.
Method 2: IP Address Lookup
Once you have the IP address from the DNS lookup, find out who owns it.
Go to an IP lookup tool
Try ipinfo.io, whois.arin.net, or whatismyipaddress.com. Enter the IP address from the A record.
Check the organization field
The results will show the organization that owns the IP range. This is typically the hosting provider.
Interpret the results
Common results: "Amazon Technologies" (AWS), "DigitalOcean", "Google LLC" (GCP or Google services), "Cloudflare" (CDN), "Hetzner", "OVH", "Linode" (now Akamai).
Command line version:
whois 104.21.55.123
The output includes an "OrgName" or "Organization" field identifying the hosting provider.
| IP Lookup Result | Likely Hosting |
|---|---|
| Amazon Technologies / AMAZON-AES | AWS (EC2, Lightsail, or another AWS service) |
| Cloudflare, Inc. | Cloudflare CDN (origin host is hidden) |
| Google LLC | Google Cloud, Firebase, or Google services |
| DigitalOcean, LLC | DigitalOcean Droplets |
| Vercel Inc. | Vercel (Next.js hosting) |
| Fastly, Inc. | Fastly CDN (origin host is hidden) |
| Unified Layer / Bluehost | Shared hosting (Bluehost/HostGator) |
| Automattic / WordPress.com | WordPress.com hosting |
Method 3: Online Hosting Checker Tools
If you don't want to piece together DNS and IP lookups, several tools do it in one step:
- BuiltWith (builtwith.com): Detects hosting, CMS, frameworks, analytics, and more. Very detailed.
- HostAdvice (hostadvice.com/tools/whois): Shows hosting provider and registrar.
- WhoIsHostingThis (whoishostingthis.com): Simple hosting lookup.
- Netcraft (sitereport.netcraft.com): Comprehensive site report including hosting history.
These tools combine DNS lookups, IP analysis, and their own databases to identify the hosting provider. They'll often tell you more than just hosting — CMS, server software, SSL provider, and other technical details.
Know where your domains point
Track registration and hosting changes across your portfolio.
Method 4: HTTP Headers
The website itself often reveals clues about its hosting in HTTP response headers.
Check HTTP headers
Use your browser's developer tools (Network tab) or a tool like securityheaders.com. You can also use the command line.
Look for revealing headers
Check the Server, X-Powered-By, Via, and X-Served-By headers.
Interpret what you find
Headers like "server: cloudflare", "x-powered-by: Express", "via: 1.1 vegur" (Heroku), or "server: nginx" give you clues about the hosting stack.
Command line version:
curl -I https://example.com
Common headers and what they reveal:
server: cloudflare— Behind Cloudflare CDNserver: AmazonS3— Hosted on Amazon S3x-vercel-id: ...— Hosted on Vercelx-powered-by: WP Engine— Hosted on WP Enginevia: 1.1 vegur— Hosted on Herokuserver: GitHub.com— GitHub Pagesx-served-by: cache-...— Behind Fastly CDN (often Netlify)
Many sites hide headers
Security-conscious sites strip identifying headers. You won't always find useful information here — but when you do, it's definitive.
The CDN Problem
Here's the catch: many modern websites use a CDN (Content Delivery Network) that sits between the domain and the actual hosting server. When you look up the DNS or IP, you find the CDN, not the origin.
If you find Cloudflare, Fastly, or CloudFront:
The actual hosting could be anything behind the CDN. You won't easily find the origin server from the outside. Some approaches:
- Check HTTP headers for clues about the origin
- Use BuiltWith or similar tools that may have historical data
- Check for subdomains (staging.example.com, api.example.com) that might point directly to the origin
- Look at MX records — email hosting sometimes reveals infrastructure choices
For most purposes, knowing the CDN is enough. If you need the origin server, you'll likely need access to the DNS configuration or the site owner's help.
Method 5: Nameserver Check
The domain's nameservers can also hint at hosting:
dig example.com NS +short
Common nameserver patterns:
ns1.digitalocean.com— DigitalOcean DNS (likely hosted there too)dns1.p01.nsone.net— NS1 managed DNSns-cloud-*.googledomains.com— Google Cloud DNS*.awsdns-*.com— AWS Route 53*.cloudflare.com— Cloudflare (DNS and possibly hosting)
Nameservers indicate who manages DNS, which often (but not always) correlates with hosting.
What to Do With the Information
Once you know where a site is hosted:
For troubleshooting: Check the hosting provider's status page (e.g., status.aws.amazon.com, cloudflarestatus.com) for outages.
For migration: You know what you're migrating from. Set up the equivalent at your new host before changing DNS.
For domain purchases: Hosting infrastructure can indicate how seriously a domain is being used. A site on premium hosting with a CDN is likely an active business.
For abuse reports: Contact the hosting provider's abuse team if you've found malicious content. They can take action faster than law enforcement.
Related Articles
Registration and hosting are two separate things. Knowing where each lives is the first step to managing either one.
Never miss a domain expiry date
Add your domains and get alerts before they expire. Free for up to 3 domains.