Example - Domain
Previous  Top  Next


The goal of this example is to help you create your first domain setting in OctaGate Switch™.

We want all external requests to the domain www.domain-a.com to go to the internal web server running on the same computer that we have installed OctaGate Switch™ on. This server has been set to listen to port 5000. This means that all HTTP requests should be sent to the port number 5000 (see your web server manual on how to change the port number). To make sure that the web server answers on that port, enter http://127.0.0.1:5000 in your web browser that is running on the same computer. The IP address 127.0.0.1 always means the computer you are working on. If the web server is running on another computer you should use that computers IP instead of 127.0.0.1.

This is what the domain settings should look like:

clip0056
Host replace
If you are running more then one domain on your web server like www.domain-b.com and www.domain-c.com. You will have to specify that domain in the field Host replace. In this example this field should have the value www.domain-a.com. This means that the all incomming HTTP request will have www.domain-a.com in the HTTP header instead of 127.0.0.1 when it gets to the web server.

Listen on port
This is the port number that you want OctaGate Switch™ to listen on. This could be set to any number as long as your firewall directs all incomming traffic on port 80 (externally) to the port number specified in the Listen on port field.

Server cluster
For more info on how to set up a server cluster follow this link.

Virtual paths
For more info on how to set up virtual paths follow this link.