Cloned a site but can’t log in – redirecting to old site

I’ve cloned the production site at example.com to my own dev server, calling it example.mydomain.com. It displays OK, as long as I use port 8080 (bypassing my varnish server). I can successfully log in to the wp-admin page at example.com, but I can’t reach the page at example.mydomain.com/wp-admin – it redirects to the homepage of … Read more