How to match exact URL

Hi ,

I am trying to redirect from www.testhome.com to www2. There are many other subsites within testhome. I just want www.testhome to www2. How to match the exact URL ? The match should be just “www.testhome.com

Sorry if this has been answered and I am a beginner.

Regards,

K