.htaccess www. redirect in Dev Desktop Possible stupid question but worth a punt...

My local OS X setup uses Acquia Dev Desktop. I recently changed a remote site's .htaccess file to redirect all no www. URLs to their www. equivalents (done my uncommenting the relevant 2 lines already in Drupal 7 core .htaccess). Pulling this change down to my local setup now means that my local dev version can no longer be navigated to.

Running cron and clearing all caches via Drush doesn't seem to help in any way.

Do I have to use a different .htaccess file for local and remote setups or am I missing something here?
Yes, you need to use a separate .htaccess file for your local version of the site.

It often makes sense to sync just the sites/all and/or sites/default folders (minus settings.php of course) of a Drupal site, so you can avoid this sort of problem without even having to think about it; unless you're hacking at core of course, which isn't recommended anyway :)