[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 domain.
The conditions
We have a local server called 192.168.0.45, running a web server on port 80. We need to publish this web server on port 80 on OctaGate Switch. We have a domains called www.DomainA.com, and our DNS is set to point at the OctaGate Switch server.
DNS or Hosts?
If you do not want to alter your DNS to run these tutorials, you can open your Hosts file, typically located in "system32\drivers\etc\hosts". For the above example, you should add a line like
192.168.0.45 www.DomainA.com
This will make your machine think that www.DomainA.com points to 192.168.0.45, but other machines will not alter their behaviour. You may have to restart your browser for the Hosts and DNS changes to register.
Create the domain
Create a new domain, see Domains on information on how to do that. Once you have created the domain, you should be on the Domains/Main page, with the new domain selected.
Set the Domain Name
Enter www.DomainA.com in the "Domain Name". Make sure that the domain is enabled. OctaGate Switch will match this domain with incoming requests for www.DomainA.com.
This is what the domain currently should look like
However it will not know where to send the request. OctaGate Switch will forward the request to itself, only to do so again and again and again. After 10 hops, OctaGate Switch will stop and show this message in the browser;
"There appears to be a circular reference in the OctaGate Switch configuration!"
Set Target Address
We must also enter the address of the server in the domain, set the "Target address" box to 192.168.0.45. Now OctaGate will forward the message where it should go.
Now click "Save settings" to update OctaGate Switch with your new domain.
Conclusion
You should now how a domain that forwards