LPIC-2 Certified Linux Engineer (202-450) (#42)

The following Apache HTTPD configuration has been set up to create a virtual host available at

www.example.com

and www2.example.com:

Even though Apache HTTPD correctly processed the configuration file, requests to both names are not handled correctly. What should be changed in order to ensure correct operations?

The configuration must be split into two
VirtualHost
sections since each virtual host may only have one name.
The port mentioned in opening
VirtualHost
tag has to be appended to the
ServerName
declaration’s values.
Both virtual host names have to be placed as comma separated values in one
ServerName
declaration.
Both virtual host names have to be mentioned in the opening
VirtualHost
tag.
Only one Server name declaration may exist, but additional names can be declared in
ServerAlias
options.