Redirect woocomerce and my_account to subdomain

Hi,

We need to redirect woocomerce products and my_account to a subdomain, as we've separated public site and admin/WC.

How can we do that in one go?

Thanks!