Domains/Main
Previous  Top  Next


clip0048  
clip0018 Enabled
This setting allows you to enable and disable the domain. This means that if the domain is disabled it will not listen or respond to any requests coming in to OctaGate Switch™.

Use this setting to stop traffic through a domain, if you want to keep the domain for later use. This is great for test domains. If you do not want to keep the domain, it is better to delete it than to disable it.


Domain name
This is the name of the internet domain, which OctaGate Switch™ will compare to the incoming request. This name would for example be www.domainA.com. If the host in the incoming request exactly equals the domain name, then OctaGate Switch™ considers that a match.
If you want to match more than one incoming domain name with one OctaGate Switch™ domain, use Virtual Domains. For instance, you may want to handle "www.domainA.com", "domainA.com" and "www1.domainA.com" the same way. OctaGate Switch™ lets you easily do so; just enter them all in Virtual Domains.

More than one domain can have the same name. OctaGate Switch™ will use the first one in the list that matches, given that the port of the request and the domain match.


Domain description
Here you can enter a description of the domain. OctaGate Switch™ does not use this information in any way; it is there for your convenience.

clip0018 Log enabled
This setting enables and disables logging for the domain. When enabled, the domain will store information about traffic through the domain and other important events. You can access these logs from the "View Log" menu.

clip0018
Default for port
If OctaGate Switch™ fails to find a domain that matches the requested host, it will try to find a default domain instead. Checking the Default for port checkbox will make the domain a default domain.

If you have several domains that should be forwarded to one web server and one other domain that should be forwarded to another server, using a default domain is the easiest way to go about it.

IPs to bind to
If you have several network cards on your OctaGate Switch™ server, or there are more than one IP address assigned to your OctaGate Switch™ server, you can pick to which OctaGate Switch™ should respond.

For instance, if OctaGate Switch™ co-exists with a web server on a machine, you could let the web server listen to port 80 on one IP number and OctaGate Switch™ listen to port 80 on the other IP number. In this case, OctaGate Switch™ would forward some of the requests to that web server without ever entering the network. If you want OctaGate Switch™ to listen to all IP numbers on the server, just enter "*" in the list.

The Default section
These values will be the default values for the virtual paths of the domain. Virtual paths can override these values, though.

Target address
This is the domain name or IP address to which OctaGate Switch™ should forward the request. Virtual paths can override these settings, if individual virtual paths should forward to different servers. If you have an external domain named "www.a.com" and an internal web server with the IP number "192.168.0.22", you would set Target address to "192.168.0.22" and Domain name to "www.a.com".

Host replace
Replaces the host in the incoming HTTP request with the one in the Host replace setting. If Host replace is empty, OctaGate Switch™ will not alter the Host field in the request. Virtual Paths can override this behavior.

If the incoming request is to "www.domainA.com" and the target server expects the request to be "www.domainB.com" then Host replace should be set to "www.domainB.com".

Listen on port
This is the port number that OctaGate Switch™ should listen on. The default port number for a web server is port 80. You can have more then one domain listen to the same port. This means that you can use the same IP and port do handle more then one domain.

Example:
www.domainA.com listens on port 80 and sends all requests to the server A.
www.domainB.com listens on port 80 and sends all requests to the server B.

Out port
Defines to which port OctaGate should send the request.

Example:
www.domainA.com listens on port 80 and sends all requests to the server A on port 81.
www.domainB.com listens on port 80 and sends all requests to the server A on port 5001.

This means that you can have an IIS server and an Apache server running on the same machine. They must listen on different ports, but to the external user will think both listens on port 80.

Server Cluster
Indicates which (if any) Server Cluster a domain should use. Server Clusters are used for Load Balancing and Failover. If the value in "Server Cluster" is "- No Selection -", then that means that the domain should not use a Server Cluster. Note that virtual paths can override this value.

Virtual Paths
Each domain can have several virtual paths, see here for more information.