Scenario 1: Remote virtual host junctions

Understand the required configuration steps to set up junction support for two remote virtual hosts on a single server is implemented.

The following scenario sets up junction support for two remote virtual hosts on a single back-end server. Refer to the accompanying diagram as you proceed through the steps.

Required architecture:

Figure 1. Virtual host junction scenario 1
Virtual host junction scenario 1

Procedure:

  1. The following pdadmin command creates a virtual host junction named (labeled) vhost-ab-http that responds to the Host: a.b.com header in TCP (HTTP) requests to WebSEAL:

  2. The following command creates a virtual host junction named (labeled) vhost-xy-https that responds to the Host: x.y.com header in SSL (HTTPS) requests to WebSEAL:

  3. The client user clicks the following (example) link on an HTML page:

      >http://a.b.com/doc/readme.txt

    The (example) request for this resource appears as follows:

    GET /doc/readme.txt HTTP/1.1
    Host: a.b.com
    User-Agent: Mozilla 4.0 (X; I; Linux-2.0.35i586)
    Accept: image/gif, image/jpeg, */*
    

    DNS determines that communication to the requested server (a.b.com) is routed to the WebSEAL host (9.0.0.3).

    WebSEAL detects the Host header and routes the request across the junction for virtual host a.b.com, on the back-end server cruz1.ibm.com.

Parent topic: Virtual Hosting