Multisite Migration from live to local


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
I have manually changed the domains in the host file to

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