Find all regular files under /home/www and replace every occurrences of 'subdomainA' with 'subdomainB' in those files (may produce 'agument too long' error)
sed -i '' -e 's/subdomainA/subdomainB/g' $(find /home/www/ -type f)