PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

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.

One Comment on “When the Apache HTTP Server is configured to use name-based virtual hosts:

  1. sergiu says:

    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




    0



    0

Leave a Reply