I move My test site (testsite.com) to a live site (livesite.com) I did all the procedures and everything went fine it didnt redirect.
Then I upgraded my livesite.com from 188.8.131.52 to 1.7.02 like this:
./mage channel-add connect20.magentocommerce.com/community
./mage channel-add connect20.magentocommerce.com/core
./mage upgrade-all --force
And then it’s redirecting to my testsite.com ?
I deleted again var/cache checked local.xml and checked core_config_data, It keeps redirecting