IPtables/Fwbuilder: using to control incoming petitions of multiple domain names
Hi:
Got a question. I have multiple domain names registered.
Example:
domain1.com
domain2.com
Got both DNS names pointing to my routers external address in hosters DNS server (one.com) so that petitions to domain1.com and domain2.com go to the same router.
All traffic is passed from the router to a firewall machine where I want to discriminate traffic coming to domain1.com and redirect it to webserver1 and traffic coming to domain2.com to webserver2.
Is it possible to set iptables/fwbuilder to do this based on which domain name was the client asking for?
I'm having trouble with this.
Any help would be welcome.
Thanks in advance.
Dorron
|