How to match exact URL

Hi ,

I am trying to redirect from 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 “

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