> - Downloads
> - Overview of the Web Application Server on C Series Controllers
> - Related Topics
> - Configuring the Web Application Server (SRC CLI)
> - Configuration Statements for the Web Application Server

> ## Overview of the Web Application Server on C Series Controllers

> The SRC software on a C Series Controller includes a Web application server that hosts the SRC SOAP Gateway (SRC-SG). In production environments, this application server is designed to host only the SRC-SG. However, you can load your own applications into this server for testing or demonstration purposes.

> The Web application server listens on port 8080 for HTTP connections on the eth0 interface (interface to the trusted network) and on the configured ports for HTTP and HTTPS connections on the eth1 interface (interface to the untrusted network).

> You can control access to applications deployed in the Web application server by configuring virtual hosts. A virtual host contains aliases and lists of the clients that are allowed to access the virtual host.

> The aliases are DNS names or IP addresses that appear in the host part of the URLs used by clients to access a Web application. When the Web application server receives a request for an application, it searches for the virtual host with the alias that matches the host in the URL. If a virtual host is found, the Web application server verifies that the application is deployed on this virtual host and the client making the request is allowed to access the virtual host. If no virtual host is found, or if access to the application or client is not allowed by the virtual host, the request is rejected and the client receives an error code.

> For convenience, a built-in virtual host named eth0 is automatically configured with two aliases:

> - 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.

> For this reason, if you want to access the eth0 virtual host with URLs containing the DNS name of your SRC host, you must configure your SRC hostname in your DNS server.

> You configure the built-in applications, such as Dynamic Service Activator, to deploy the application to a specific virtual host. Other applications that you can load for demonstration purposes are automatically deployed on the built-in virtual host eth0.

> #### Published: 2009-09-25

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.