Import existing site to local host not working

Hi,

I am trying to import an existing site to a localhost via XAMPP or Duplicator. The problem is that I have es.mywebsite.com and en.mywebsite.com links and these don't import.

How can I do this? The idea is to make changes to the theme in local and then export it again to the existing website.

Thanks.