I\'ve moved my Magento to another server with another domain name, now it keeps linking me back to the old domain. All files and the entire database has been searched&re
This is probably due to the old base url stored in the database table core_config_data. You have to update that values to point to the new domain.
You can update with the following update queries
UPDATE core_config_data SET value="http://www.newdomain.com/"
WHERE path="web/unsecure/base_url"
to update secure base url
UPDATE core_config_data SET value="https://www.newdomain.com/"
WHERE path="web/secure/base_url"