Multisite Migration from live to local

Hi,

I imported a live multi site into local and the problem I’m having even after clicking sync hosts files near subdomains is that it is redirecting to the live site. I can’t access the frontend or backend of the primary site or any other subdomain site.

I have check the database and see the home and site url of the primary sites as the local.dev
I have manually changed the domains in the host file to subdomain.local.dev

Nothing has worked. Any tips/help will be appreciated.