• Apache web server
    • ➟ Preliminaries

Tip

Whenever searching for Apache related documentation always include 2.4 in your query: Configuration file syntax changed considerably with respect to Apache version 2.2.

Image layer 1
Image layer 2
Image layer 3
Image layer 4
Image layer 5
  • One physical host system

  • Serving multiple sites e.g.:

    • https://www.foo.org

    • https://www.second.org

  1. Port based virtual hosting

  2. IP based virtual hosting

  3. Name based virtual hosting

    Typically using Server Name Indication (SNI)

Image layer 1
Image layer 2
Image layer 3
Image layer 4
Image layer 5
Image layer 6
Image layer 7
Image layer 8
  • Host system: One IP per site to serve

  • Pro: TLS handshake without SNI.

    Supporting older clients.

  • Downside:

    • IP address waste

    • Host system NIC configuration required

Image layer 1
Image layer 2
Image layer 3
Image layer 4
Image layer 5
Image layer 6
Image layer 7
Image layer 8
  • Host system: Common IP address

  • Pro

    • No IP address waste

    • No Host system NIC configuration required

  • Cons: Excluding older non SNI supporting clients.

    (Internet Explorer on Windows XP, Android below V. 2.3)

  • SNI allows for eavesdropping requested site's name.

Image layer 1
Image layer 2
Image layer 3
Image layer 4
Image layer 5
Image layer 1
Image layer 2
Image layer 3
Image layer 4
Image layer 5