And this causes the problem cut and paste the <virtualhost> entry for the problemetic domain before these lines with other entries of <virtual host> and restart apache it worked for me this way may be it helps you too