S
S
Semyon2020-06-01 15:34:20
Nginx
Semyon, 2020-06-01 15:34:20

Iredmail took over the main domain along with the mail. How to fix?

Put iredmail on mail.example.ru. After setting up, mail worked on mail.example.ru, but when switching to example.ru, mail also opened. With my extremely modest knowledge of nginx, I changed the server name from _ to mail.example.ru, restarted and did not help. How to remove mail from the main domain? In addition to the server name, I did not change anything, I set it according to this instruction

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2020-06-01
@Hitreno

Create a separate nginx config for the example.ru domain.
Specify a separate directory as Root.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question