Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I log out of my macmini server using terminal it says

"Connection to www.kannhost.co.uk closed"

www.kannhost.co.uk is one of the domains that I host and have set up using vhosts.php

How can I change the name of the server to show the following

"Connection to macmini closed"

share|improve this question
    
Are you connecting to the system by name or IP address? And what reverse DNS is set up for the IP address that you're connecting to? –  Shane Madden Apr 12 '12 at 17:48
add comment

1 Answer

up vote 1 down vote accepted

On the current machine you're using, modify the hosts file to point the term "macmini" to the IP for www.kannhost.co.uk.

Next time you connect, shell in to "macmini" (not www.kannhost.co.uk) and you'll get the message you want when you disconnect.

share|improve this answer
add comment

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.