Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Virtual Hosts for the Web Applications (SRC CLI)

    Use the following configuration statements to configure virtual hosts at the [edit] hierarchy level:

    slot number application-server web virtual-host host-name {alias [alias...];allow-address [allow-address...];allow-host [allow-host...];deny-address [deny-address...];deny-host [deny-host...];}

    To configure virtual hosts for the Web applications:

    1. From configuration mode, access the statement that configures the virtual host.

      By default, SRC applications run on the virtual host eth0. You must configure eth0 as a virtual host. The hostname must be unique.

      user@host# edit slot 0 application-server virtual-host eth0
    2. Specify the alternate DNS names or IP addresses for the virtual host.
      [edit slot 0 application-server virtual-host eth0]user@host# set alias [alias ...]

      The alias must be unique. Specify the following alias for the eth0 virtual host:

      • The IP address assigned to eth0.
      • The name for the SRC host configured at the [edit system host-name] and [edit system domain-name] hierarchy levels.
    3. Configure access to the virtual host. Specify the IP addresses for remote clients that are allowed access to the virtual host.
      [edit slot 0 application-server virtual-host eth0]user@host# set allow-address [allow-address...]
    4. Configure access to the virtual host. Specify the hostnames for remote clients that are allowed access to the virtual host.
      [edit slot 0 application-server virtual-host eth0]user@host# set allow-host [allow-host...]
    5. Deny access to the virtual host. Specify the IP addresses for remote clients that are denied access to the virtual host.
      [edit slot 0 application-server virtual-host eth0] user@host# set deny-address [deny-address...]
    6. Deny access to the virtual host. Specify the hostnames for remote clients that are denied access to the virtual host.
      [edit slot 0 application-server virtual-host eth0]user@host# set deny-host [deny-host...]

    Published: 2014-12-16