Okay big problem here.
I run multiple sites off a primary domain. The primary domain uses wordpress, but all the other sites that are subdomains use a different CMS.
My problem is that now when I try to access my sub domain sites, it is redirecting me to my primary domain site.
Also, when I try to login with one of the sub domains, it redirects me to WP's login screen.
ie. subdomain.primary.com/login -> primary.com/wp-login.php
How do I fix this? I have 30+ client sites on subdomains and they can't seem to access their sites in development. I NEED HELP ASAP!