A Web Application
Previous  Top  Next


[Please make sure you have OctaGate Switch™ installed and started before you start this tutorial, and that you are logged in]

The goals of this tutorial
In this Tutorial, we will create a virtual path for web application running on the same computer as the main web server.

The conditions
The conditions are identical to that of the first tutorial and the second tutorial.

In this tutorial we want www.DomainA.com/App1/ to be forwarded to a web application running on the main web server (192.168.0.45) on port 5001.

This tutorial assumes that you have the domain created in the previous tutorial.

Open the domain
First, you should open the domain created earlier, called www.DomainA.com. If you are unsure on how to open a domain, please see Domains.

Create a Virtual Path
First off, create a new virtual path as in the previous tutorial. Set the Path box to "/App1/". Your Virtual Path grid should now look like this;

clip0028  

Target address
Since the target address for the web application is the same as the main web server - the default target address - there is no need to fill out the Target address box. See Domains/Main and Virtual Paths for more information about Target address.

Outport
The web application listens on port 5001, so we must update the virtual path with that port, so in the Outport box, type 5001. Your virtual paths grid should now look like this

clip0029  
 
Save the changes and try out the new path.

Conclusion
You should now how a domain that forwards
· www.DomainA.com:80 to 192.168.0.45:80  
· www.DomainA.com/News/:80 to 192.168.0.50:80  
· www.DomainA.com/App1/:80 to 192.168.0.45:5001