Routing incoming requests to different IP
I think i've pretty much figured out how to do this anyway but a second opinion is always useful.
Plain and simple, I have a linux machine that i'm using as a webserver which allows incoming connections for web, mail, ftp, etc. Depending on the domain name i'd like certain requests e.g. mydoman.com to be routed to one IP and mydomain2.com to be routed to another IP.
Is this just a case of configuring a DNS server on the linux machine, e.g BIND?