I'm trying to look for ip address of some site and see that there're many sites provides hostname to IP lookup. My question is, how do we know if the ip generated is for the main webhosting company (like Godaddy) or it's the ip for that specific domain name? Very novice in IP and domain stuff. Thanks for the input!
The A record in the DNS points to the web host. Which IP that points to is set in the DNS zone record on the name server.
You can do your own DNS lookup from the command line of a *nix box like:
Using a whois service like domaintools makes finding the IP of a site's server pretty easy.
Just head over to http://whois.domaintools.com/ and go to the "Server Stats" tab.