Chapter 15: Web Hosting Configuration Guide
238 SmartSwitch Router User Reference Manual
The network shown above can be created with the following load-balance commands:
Web Hosting with Multiple Virtual Groups and Multiple Destination Servers
In the following example, two different servers are used to provide different services for a
site.
Domain Name Virtual IP TCP Port Real Server IP TCP Port
www.ctron.com 207.135.89.16 80 10.1.1.1 80
10.1.1.2 80
10.1.1.3 80
10.1.1.4 80
load-balance create gro up-name ctron-www virtual-ip 207.135.89.16 virtual port 80
protocol tcp
load-balance add host-t o-group 10.1.1.1-10.1.1. 4 group-name ctron-www port 80
10.1.1.1 Router
Internet
Web requests
forwarded to
the server
www.quick.com
ftp.quick.com
User Queries:
www.quick.com
10.1.1.2
ftp.quick.com
Domain Name Virtual IP TCP Port Real Server IP TCP Port
www.quick.com 207.135.89.16 80 10.1.1.1 80
ftp.quick..com 207.135.89.16 21 10.1.1.2 21