How to map IP addresses to host names

Written by jason artman
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to map IP addresses to host names
(Hemera Technologies/ Images)

On the Internet, a "hostname" is a set of alphanumeric characters that identify a computer or server. A hostname is similar in concept to an IP address, which is a unique number that identifies a machine online. Hostnames are particularly useful in organisations with large numbers of computers, as a hostname can be used to identify an individual machine on a large network more easily than an IP address. You can map any IP address online to a hostname using the Windows Ping command.

Skill level:
Moderately Easy


    Mapping a Hostname in Windows

  1. 1

    Click the round Windows logo in the bottom-left corner of the desktop to open the Start menu.

  2. 2

    Type "cmd" in the white "Search programs and files" rectangle at the bottom of the menu. Press "Enter" to open the command prompt.

  3. 3

    Type "ping -a" followed by the IP address that you want to map to a hostname. For example, a completed command might look like "ping -a" Press "Enter."

  4. 4

    Examine the first line that Windows displays after pressing "Enter" to determine the hostname of the IP address that you have entered. For example, pinging the IP address results in the line "Pinging [] with 32 bytes of data." In this case, "" is the hostname.

Tips and warnings

  • You can also map an IP address to a hostname using a Web-based tool if you are on a non-Windows computer. Three such tools are listed in the "Resources" section below. To use one of the tools, simply enter the IP address in the box provided and click the button. The resulting screen displays the hostname for the given IP address.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.