You would need to use a front end server to routing the data based on the domain name. You could use apache mod_proxy on one of these servers to route, or place one dedicated machine in front. If you did put it infront, a dedicated proxy, like nginx, would be a better bet probably.
|