In the netatalk 3 world server name is derived from the system hostname.

This field is not hooked up to anything, and it has been decided that
if the AFP server name doesn't match the hostname it breaks mDNS
anyways, and this is AFP, so by definition a Mac thing.