Lots of options, and "easiest" is subjective. Some options (A) define a CNAME from mydomain1.com to mydomain2.com. (B) If you control the mydomain1.com web server, set an HTTP redirect to mydomain2.com in the web site configuration file. This can even handle going from root of domain1 to a path under domain2.
It looks like you're uploading a cache directory that is used by webpack. Your site visitors don't actually use that content (it's only used by webpack when initially building) so you'll want to make sure to not upload those files.