We've recently moved providers for our WordPress website and can preview the website using
hosts.cx or editing our hosts file to point at the new server IP address before we change the A records for our domain to point at the new website.
However we've found that the login doesn't work... just reports that the username and password are incorrect (even though we copied the users etc from the current site intact).
Does WordPress do anything / have any sort of configuration that could cause this? We spoke to our hosting provider and they claim that it needs the DNS for the domain changing before the login will work properly but this seems a bit weird considering the rest of the site works fine and we've never had issues with other PHP or even Ruby apps when previewing them like this... so does WordPress have something in place that could cause this?