On Fri, May 20, 2022 at 12:09 Yehuda Katz <yehuda@xxxxxxxxxx> wrote:
That is not correct. That causes httpd to try to look up the matching IP address using DNS. Use only IP addresses or wildcards.
You should try the Apache Macro to see if it might help.
I have used for years for over a dozen virtual hosts defined by SNI. See the Apache section on my "config-scripts" module at github (tbrowder/config-scripts).
Essentially, you use the macro (with args) to define a template for a host. Then use it with one-line definitions for each host. Finally, undef the macro.