Recently copied my existing files and database and added to another domain for theme testing. When I try to access my http://www.testsite/wp-admin it automatically redirects me to http://www.primarysite/wp-admin. I have already done the following steps:
-Created duplicate database
-Directed new site to new database
-Configured wp-config for site url and home
Basically everything on this documentation I have done:
Have also checked with the server and they cannot find anything on their end. Any ideas as to what this could be? Maybe something in the copied database that is still calling on http://www.primarydomain?