Get IP Address from hostname or domain

Hosting and servers

Web hosting, virtual private servers and dedicated servers.

All providers

What is hostname-to-IP resolution

This tool performs a direct DNS lookup (forward lookup): from a hostname, a domain, or even a full URL, it obtains its IPv4 address. If you paste a URL, the server first extracts the host — for example, from https://ejemplo.example/pagina it would take ejemplo.example — before resolving it. To do this, it queries the domain's A record.

What it's for

  • Check which IP address a domain or subdomain points to before configuring a server, a firewall, or a DNS rule.
  • Verify whether a domain resolves correctly or has stopped having an active A record, for example after switching hosting providers.
  • Check the IP behind a link before interacting with it, as a manual verification step.
  • Paste a full URL directly without having to extract the domain by hand.

How to read the result

The result is a single IPv4 address. For example, a domain might resolve to a documentation address such as 192.0.2.10 or 198.51.100.24 (these ranges exist only for examples and never appear in real traffic). If the domain is served from several servers — load balancing, DNS round-robin, a content delivery network (CDN) — only one of the possible IPs is shown, not all of them, and a second query at another time could return a different IP without that indicating an error.

Why there is sometimes no result

Resolution fails if the domain doesn't exist, is misspelled, has no A record configured, or only has an AAAA (IPv6) record and no A record. In any of these cases the tool shows an error instead of an IP address.

Limits

  • It only returns IPv4 addresses (A record). It doesn't query IPv6 (AAAA record); a domain may have an IPv6 address and this tool won't show it.
  • If the domain has several associated IPs, only one is shown, not the full set.
  • It doesn't perform additional checks on the destination server — whether it responds, what service it offers, whether the port is open — it only resolves the name to an address.
  • For the reverse process, getting the hostname from an IP, there's the IP Address to Hostname tool.