Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In Sharing, my iMac is called 'iMac Quad'. But right below it, its now saying new-host-3.home as well.

sharing

This also appears that it would then be on two domains - .local and .home.

How do I correct this? If I change the computer name, it won't change this.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Unfortunately the computer name and host name can get out of sync. Open a terminal window and use

sudo hostname <new hostname>

to change the hostname. Once executed, it changes the system configuration, so the new hostname will be there when you reboot.

Also, be aware that some DHCP servers will assign a hostname. Depending on the network you attach to and the DHCP server configuration you may have to work with the network administrator if you need to use a different hostname. You don't have to worry about this for most consumer grade routers.

share|improve this answer
    
This is on a home computer, with a Verizon FiOS router and then an Airport Extreme. I am familiar with hostname, just trying to find out how to trace what happened here. –  jmlumpkin Mar 23 '12 at 17:21
    
@jmlumpkin I haven't figured out the sequence of events that occurs that causes them to diverge. They are used for different things, so while OS X seems to make an effort to keep them the same, it doesn't force them to be the same, and I suppose there are situations where one might want them to diverge. –  Adam Davis Mar 23 '12 at 17:29
1  
I finally got a chance to do this. I think part of the hostname was due to some network changes I was doing to test Find My Mac. And then I found the config in my router for the domain. –  jmlumpkin Mar 25 '12 at 15:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.