I've gotten a multisite Drupal install that I want to move to a new main URL.
Specifically, I was given a site with about 30 domains configured with the Domain Access module. The main domain was www.site.txt and the additional domains were country specific, e.g. uk.site.tst, us.site.tst, jp.site.tst and so on.
Using Domain_Access I changed the 0 number domain to www.newsite.tst and I deleted all the .site.txt domains except one. I also deleted all the nodes from all the domains.
Now I can view any page by manually typing the new url, e.g. us.newsite.tst/admin. However all the links within the site still refer back to the old site. So if I click on a link to the adinistration page, Drupal tries to find www.site.tst/admin. What I want it to do is to look for www.newsite.tst/admin.
The original site was set up using cookie domains. I've tried everything I can imagine, including commenting out the cookie domain line in settings.php and enabling base url. I've tried uncommenting them both and neither. I've also looked at htaccess and gone through the database to try to find from where Drupal pulls the address, but I've had no luck. (I've also combed through Google and these forums.) Perhaps I'm the only one dumb enough to try this. But it will save days of work if I can migrate this setup as opposed to rebuilding it from scratch.