I uninstalled the domain mapping plugin as I wasn't able to configure it with my site set up. Since deleting the plugin (and sunrise.php) I have had problems with my www. alias. It redirects to the login page as if it were an unrecognised subdomain. Could the domain mapping plugin have left something in the database that is causing this?