API:GetServerName

Returns the current Server Name. GetServerName

Returns
a Name

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetServerName);

Returns your server's name.