When the Apache HTTP Server is configured to use name-based virtual hosts:
A.
It’s necessary to configure a different IP address for each virtual host.
B.
The Listen directive is required for each virtual host.
C.
Each virtual host can serve requests to exactly one hostname only.
D.
It is required to create a VirtualHost block for the main host.
E.
The setting NameVirtualHost *:80 indicates that all name based virtual hosts will listen on port
80.
correct answer D.
The first step is to create a block for each different host that you would like to serve. Inside each block, you will need at minimum a ServerName directive to designate which host is served and a DocumentRoot directive to show where in the filesystem the content for that host lives.
from apache website