Computers Local Hostname keeps changing.
Yes, I have a, what's considered vintage, iMac desktop, OS X El Capitan Version 10.11.6, 3.06 GHz Intel Core i3. I'm using a Google Chrome Browser, too much beach balling with Safari. My problem is a pop-up I keep getting lately saying, This computer's local hostname "my-name-iMac-7.local"is already in use on this network. The name has been changed to "my-name-iMac-8.local". It then say's, To change the local hostname, open System Preferences and click Sharing, then click "Edit" and type the name in the Local Hostname field.
I did this once, when it changed from 2 to 3, I typed in the 3. But it changes, and the pop-up shows up every time I start up my computer. I now am up to "my-name-iMac-8.local", but I'm not typing it in. I was able to stop it from going higher numerically by leaving the pop-up on my desktop, but when I click the OK button it goes up again as soon as I start my computer again. I don't know what to do, and I'm a little concerned if anyone has hacked into my computer. I'm the only one who uses this computer, the only one who knows the Password.
iMac 21.5", OS X 10.11