Answer the question
In order to leave comments, you need to log in
What is Apache's logic if there are several virtualhosts on the same port?
in the /sites-enable
folder a.conf
b.conf
in a.conf
servername a
in b.conf
servername b
now enter in chrome C (i.e. not a and not b) bound to the same ip or ip itself, but we always get to the one in a.conf
Why?
just because in the sort folder a is ahead of b ? Or is the reason something else?
by what logic do we climb site A if not B but not A either?
Answer the question
In order to leave comments, you need to log in
the despondency of the lack of answers is striking, but apparently the assumption "banal in alphabetical order" was correct.
changed to 0b.conf and 1a.conf and it became vice versa = always on the B site if not a or b in the address bar.
but whether this is the only reason - due to local despondency, remained unclear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question