Let's say I have domains xyz.com, abc.com and a server with iRedMail (a mail server application) - for example it's IP address is 1.2.3.4.
The address https://xyz.com/mail is redirecting to iRedMail login page - and that's ok.
In DNS I have A-type redirect from abc.com to 1.2.3.4 server.
In the server I added a abc.com domain rule in apache2 configuration.
Sadly when I type http://abc.com in a browser, the browser redirect me to https://xyz.com/mail. But the browser should show me a file from a specific folder (defined in apache2 config).
How can I fix it?