Created attachment 34907 [details] Test script setting up test environment and showing bug. If a virtual host contains more than one ServerName, only the first one is used. Syntax checks returns 'OK', although thies yields to unexpected results as the httpd will choose the last virtual host for that IP:port. I've attached a test script showing the problem. It sets up two virtual hosts with the first one containing both a ServerName directive for alice.example.com and a ServerName directive for bob.example.com. A second virtual host contains just one ServerName directive for carol.example.com. My output is: Setup test environment Server version Server version: Apache/2.4.25 (Unix) Check syntax Syntax OK Start test httpd Run test Test alice...OK Test bob...FAILED (alice) Test carol...OK Stopping test httpd I would expect that either the first virtual host also respond to bob.example.com or that the syntax checks fails.