Acquia Dev Desktop Redirects to Live Site
I encountered this problem tody, and it turns out that the securepages module causes it. After disable that module, everythin works.

Though, don't forget to enable the module before going online.