I need to implement multi site configuration in Drupal 7. I have a Drupal code base called example.com and two subdomains sub1.example.com and sub2.example.com in sites/ folder. I am using a shared database also. My requirement is to to redirect a user to sub1.example.com if the user enters the url http://example.com from country1. When any other user hits the same url http://example.com from country2 then he must be redirected to sub2.example.com. The user must be unaware of the country specific domain redirection.
I am using drupal 7.7. I installed ip2locale module for redirecting the users based on their IP and a domain access module also is installed.
Is the domain access module really needed for meeting my requirement ?
If I have to use domain access module
do I need to set up virtual host separately for each sub domain when domain access module is used? Is ip2locale module alone sufficient for redirection based on IP?