How to find IP address of a website?

Cody Robertson Staff asked 11 months ago

Please tell me, How to find out the ip address of a website.

2 Answers
Shnerdly Staff answered 11 months ago

You can find the IP address of any website by going to a command prompt and typing:

ping whateverwebsite.com

MoonPoint answered 11 months ago

Another way to check the IP address for a website is to use the nslookup command from a command prompt. Most operating systems, whether they are Microsoft Windows, Apple OS X, Linux, etc., provide that tool, which is specifically for looking up IP addresses. E.g., suppose I wanted to look up the IP address of google, I could use the command nslookup www.google.com as shown below where the command is run on a Microsoft Windows system:
C:>nslookup www.google.com
Server: UnKnown
Address: 192.168.0.15
Non-authoritative answer:
Name: www.google.com
Addresses: 2607:f8b0:4002:c09::68
173.194.37.84
173.194.37.80
173.194.37.83
173.194.37.81
173.194.37.82

The line immediately below the "Server" line is the IP address of the DNS server that provided the information for google.com. The Addresses line shows an IPv6 address for google.com. IPv6 is a newer version of the Internet Protocol; many websites are now accessible using IPv6, though IPv4 is still widely used. There is no version 5 in use on the Internet; that number was skipped. Most people are more familiar with the IPv4 style addresses, which are the ones shown for google.com below the Addresses line.
You will see that there are four IPv4 addresses shown. Many large companies will have more than one IP address associated with a fully qualified domain name (FQDN), such as google.com. When a system out on the Internet looks up google.com, the IP address that is returned by the DNS servers Google uses won't necessarily be the same each time.
Many large companies with publicly accessible websites use a round-robin DNS technique for associating IP addresses with their web servers, so that if thousands, or even millions, of people may be accessing their servers simultaneously, they won't all be accessing the same server, since the DNS servers will cycle through a list of IP addresses that are returned for DNS queries for an IP address for a web server, thus distributing the load on the company's servers.

Know the answer? Login or sign up for an account to answer this question.
Sign Up