Why does my hostname keep getting a -2 at the end

Discussion in 'OS X Yosemite (10.10)' started by snarfquest, Oct 7, 2014.

  1. snarfquest macrumors regular

    Jun 7, 2013
    Everyday my hostname changes for some reason I haven't been able to figure out. It's been doing it since the first beta's of Yosemite. It keeps getting a -2 (dash two) on the end.

    Really makes a mess of back-to-my Mac..
  2. fisherking macrumors 603


    Jul 16, 2010
    ny somewhere
    happening to a lot of us... (i get (2) or (3). annoying...
  3. MacsRgr8 macrumors 604


    Sep 8, 2002
    The Netherlands
    Hostname or computer name?

    The hostname is typically the name of the computer by given by the DNS server, something like "imac1.company.private".

    The computer name (Bonjour name) is in this example something like "iMac-1" (note the capitals and the "-").
    If another device on the same network also is called iMac-1, then that second device will be called iMac-1(2).
  4. bkribbs macrumors 65816

    Jan 15, 2012

Share This Page