Redirecting the second domain to the first domain added to the panel

I installed the Hestia panel on Ubuntu 22.04. Created user1 and added domain1. com to it. Configured SSL Let’s encrypt.

Then I added user2 and added domain2. com to it. I also set up SSL Let’s encrypt.

When I access domain2. com, it gets redirected to domain1. com.

How can I fix this?