User`s guide

50 Chapter 2 Before You Begin
Changing the Servers Host Name After Setup
When you perform initial server setup for new installations, Server Assistant sets the
host name value by assigning AUTOMATIC to the hostname parameter in /etc/
hostname. This setting causes the servers host name to be the first name thats true in
this list:
 The name provided by the DHCP or BootP server for the primary IP address
 The first name returned by a reverse DNS (address-to-name) query for the primary IP
address
 The local hostname
 The name “localhost
After initial setup, if you want to change the host name, don’t use the System
Preferences Sharing pane to modify the server’s computer name; use the changeip
command-line tool.
See the command-line administration guide or the man page for changeip for details.
Changing the Servers IP Address After Setup
To change a server’s IP address after initial setup, use the changeip tool.
Because changeip doesn’t actually change the server’s IP address, use the
networksetup command (or Network preferences) to change the servers IP address in
its network settings. See the command-line administration guide or the man page for
changeip for details.