I recently created a Development/Staging copy of my site/database and everything seems to be working correctly on the front end. So when I visit dev.mysite.com I am able to browse my store and it stays on dev.mysite.com.
But when I try to login/access the admin area at dev.mysite.com/admin/ it keeps redirecting me to www.mysite.com/admin/
I updated my core_config_data table in the Dev DB for both secure and insecure url's to dev.mysite.com/. I know that the front end is using the dev DB because I update my local.xml.
I can actually access dev.mysite.com/index.php/admin/system_config/edit/section/web/... but i have to manually change the URL in the address bar. When I click around the admin area it always sends me back to www
I am also noticing that in the Dev Admin when i navigate to System>Configuration>Web>Base URL it is still showing www.mysite.com/ which is leading me to believe that the Dev admin area is still using the Production DB and not the Dev DB.
Is there some sort of caching or setting(s) that I am not aware of?
Please help. Thanks.