How to find Hostname

There are different kinds of hosts like your local computer, ISP, web server etc. Here I’m going to tell you how to find hostname.

Local Hostname – To find localhost name, just open Command Prompt and type “hostname” to get the local hostname on you computer. Also, you will get the hostname by typing “ipconfig /all”.

IP or Domain Hostname – You can also fine IP/ Domain hostname from DOS. Just type “nslookup domain.com” to get host IP address. For example if we type “nslookup google.com” then the output will be as follows …

Similarly, you can find the domain hostname by typing “nslookup xxx.xxx.xxx.xxx
For example, if you type Google’s IP 74.125.67.100 then it will give you the output as below …

Now, if you try this command with your domain, it will give you the IP address. Next, you may get error [see the screenshot below] while trying to get the domain from IP lookup. It’s because your domain is on a shared IP. :) It’s only possible if your domain is on a dedicated IP Address.

Also there is another way to get hostname from IP address is as follows

Just type “ping –a xxx.xxx.xxx.xxx” If you run the above command with one of Google’s IP 74.125.67.100 it will give the out put like this …

For the reverse action, same thing applies for shared IP.

Related posts:

  1. Reverse DNS A Reverse DNS Lookup is the process of looking up...
  2. Change Hostname Here are some simple instructions on changing your computer’s local...
  3. What is Hostname Hostname is used on internet to give the name to...
  4. Know WhoIS info of site with DOS prompt Here I’m going to tell you one very interesting way...
  5. FQDN An FQDN (Fully qualified domain name) is a domain name...


Liked this post ? Subscribe to MWolk Blog via RSS Feed or via Email and receive free daily Tech and Money making tips.

No Responses to “How to find Hostname”

No feedback yet.

Leave a Reply

Name Email Website URI