Replace all occurrence of "subdomainA.example.com" with "subdomainB.example.com" in all files under /home/www and below
find /home/www -type f -print0 | xargs -0 sed -i 's/subdomainA.example.com/subdomainB.example.com/g'