hernandezmarzal,
Let me see if I could understand it..
You’ll need to access your site-b mysql databse, and in the table wp_options you’ll see at the first line the option_name siteurl.
Now in that field you’ll have to change it from site-a to site-b.
I hope that it was what you’re in need..
–
mvieiras