I would like to know how to automatically redirect users going to 'domain.com' to 'www.domain.com'. Please keep in mind that I also have subdomains set-up, and I don't want to redirect everything not www.domain.com to www.domain.com. In addition, I would like to set it up such that everyone going to www.sub.domain.com to go to sub.domain.com. This should work even on 'deep' subdomains, like going to www.very.deep.sub.domain.com would lead you to very.deep.sub.domain.com.
Thank you very much!