I already have a mail server set up with the domain xyz.com under User A in HestiaCP. Later, I tried to add a Web Domain with the same domain xyz.com under User B, but I received the error:
Error: Mail domain xyz.com exists
How can I fix this error so that I can properly manage xyz.com under the desired user?
Just to be clear, I didn’t understand your question. I thought you wanted to use a subdomain under another user, so I said yes, you can do that by disabling the enforce option. However, you can’t use the same base domain with two different users.