how to convert a wordpress multisite from subdirectory to subdomain

how to convert a wordpress multisite from subdirectory to subdomain