How to find your Computer's hostname on Windows or MacOS

How to find your Computer's hostname on Windows or MacOS.

Instructions

For Windows Computer

  1. Click on the Start button.
  2. In search box type "cmd" and press Enter.
  3. In the black background window that appears, type "hostname" and press Enter.
  4. Your computer hostname will be displayed on the next line.

For MacOS

  1. Open a Terminal window. You can find it under launchpad or you can use Spotlight Search.
  2. Type in "hostname" and hit the Return key.
  3. Your Mac's hostname is on the first line.

Environment

  • Windows
  • MacOS

Details

Article ID: 138674
Created
Fri 5/13/22 2:46 PM
Modified
Mon 7/18/22 8:25 PM
Applies To
Students
Faculty
Staff