I simply installed wpmu ad used subdomains. Obviously the main domain appears like http://domain.com and subdomains are something similar to http://sub.domain.com.
The only real factor I want may be the root domain to become http://www.domain.com and my subdomains to stay.