This directive should be used on systems where
gethostbyname
may not work on the local host, or where
the hostname returned should be a DNS alias such as
www.widget.com
.
ServerName FQDN
Where FQDN
is the full hostname (including domain name)
to be returned as the server address.
ServerName www.widget.com
This would set the server's hostname as www.widget.com, as opposed to monster.widget.com as would be returned from the gethostname system call.