retrieve server name is domain mode