nerdexam
LPI

202-400 · Question #299

When the Apache HTTP Server is configured to use name-based virtual hosts:

The correct answer is E. The setting NameVirtualHost *:80 indicates that all name based virtual hosts will listen on. See the full explanation below for the reasoning.

Question

When the Apache HTTP Server is configured to use name-based virtual hosts:

Options

  • AIt's necessary to configure a different IP address for each virtual host.
  • BThe Listen directive is required for each virtual host.
  • CEach virtual host can serve requests to exactly one hostname only.
  • DIt is required to create a VirtualHost block for the main host.
  • EThe setting NameVirtualHost *:80 indicates that all name based virtual hosts will listen on

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    8% (2)
  • D
    12% (3)
  • E
    76% (19)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice