How do I setup multi sites in Drupal 7 using xampp
Thanks @Sumit Madan for your suggestion. My issue has been resolved now. I just append these lines in test/sites/default/settings.php:

  $sites['trial1.com'] = 'trial1.com';
  $sites['trial1.localhost'] = 'trial1.com';

  $sites['trial2.com'] = 'trial2.com';
  $sites['trial2.localhost'] = 'trial2.com';