nerdexam
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)
  • A
    3% (1)
  • B
    8% (3)
  • C
    5% (2)
  • D
    85% (33)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice