Try this:
find /home/user/ -type f | xargs sed -i 's/a.example.com/b.example.com/g'
In case you want to ignore dot directories
find . ( ! -regex '.*/..*' ) -type f | xargs sed -i 's/a.example.com/b.example.com/g'
Edit: escaped dots in search expression
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…