I have done a fresh install of WordPress Network. I have used my main domain to configure it, ie "http://mydomain.com", because I want to use sub-domain like "http://site1.mydomain.com" (and not http://site1.www.mydomain.com).
But I also want to access my main blog at "http://www.mydomain.com".
And so far, WordPress is redirecting "http://www.mydomain.com" to "http://mydomain.com".
I had my DNS zone configured to redirect "http://mydomain.com" to "http://www.mydomain.com", so I was in an infinite redirection loop. I changed that to be able to access WordPress, but that's not what I want.
How and where in WordPress settings/files can I change that behavior?