All links point to the old site after migration
For sites being localized, you have to edit every language:
/admin/config/regional/language
It's because there's a "domain" field that is left with the wrong URL in the database. 
That solved my case of moving from subdomain beta.mysite.com to www.mysite.com