store hostname as string