LPI
202-400 · Question #20
When Apache is configured to use name-based virtual hosts:
The correct answer is D. it's also necessary to create a VirtualHost block for the main host. See the full explanation below for the reasoning.
Question
When Apache is configured to use name-based virtual hosts:
Options
- Ait's also necessary to configure a different IP address for each virtual host.
- Bthe Listen directive is ignored by the server.
- Cit starts multiple daemons (one for each virtual host).
- Dit's also necessary to create a VirtualHost block for the main host.
- Eonly the directives ServerName and DocumentRoot may be used inside a block.
How the community answered
(39 responses)- A3% (1)
- B8% (3)
- C5% (2)
- D85% (33)
Community Discussion
No community discussion yet for this question.