subdomain isnt 301 to mapped domain

My clients has lost their seo rankings and buried lower in the google pages is their subdomain instead of the mapped domain.

When i visit theirsubdomain.mysite.com it doesn't re-direct to the mapped domain.

How to I make this re-direct to fix their google rankings?