How to Match a Particular Hostname and Send to a Server
If you have 2 DNS names and you want to send one to Real server 1 and the other to Real Server 2, please follow the steps below in the LoadMaster Web User Interface (WUI):
- In the main menu, select Rules & Checking and Content Rules.
- Click Create new.
- Use the following Rule.
- Click Create Rule.
- Use the following Rule.
- Click Create Rule.
- In the main menu, select Virtual Services and View/Modify Services.
- Click Modify on the relevant Virtual Service.
- Expand the Advanced Properties section.
- Enable Content Switching
- Expand Real Server section
- Click None on Real server 1
- Add match_rule_1
- Click None on Real server 2
- Add match_rule_2
- Point domain1.com and domain2.com to the Virtual Service.
These rules will allow traffic for domain1.com to go to Server 1 and domain2.com to go to Server 2.
Was this article helpful?
2 out of 5 found this helpful