Pointing additional .local domain to site

Say I have 3 sites set up in DevKinsta:

domain1.local
domain2.local
domain3.local

How would I go about pointing an additional domain (ex: domain4.local) to a specific one of those sites?

I’ve already added the entries to the hosts file, ex:

127.0.0.1 domain4.local
127.0.0.1 www.domain4.local
::1 domain4.local
::1 www.domain4.local

When I go to domain4.local it brings up domain1.local, but I need it to bring up domain2.local, for example.

I don’t mind making modifications to files inside of one of the docker containers.

Thanks!