I want to use domain access module for my xampp localhost. Any one knows how to configure it for localhost.
If you are using windows 7 (32bit), then you can create as many host names in this file C:\Windows\System32\drivers\etc\hosts The File path may be vary depends on your Operating system. You can add as many alias for localhost in bottom of file
localhost1 127.0.0.1 localhost2.com 127.0.0.1 thisismyhost 127.0.0.1 thisismyhost .com 127.0.0.1
Save the file. Now you can access your locahost server in any of the above hostnames you added. Use the same name in your drupal site when you create domains in domain access module.
P.S : Im sure there should be something similar for all other operating systems.
Finally I got a very suitable link, i.e. Working With Domain Access Module in Drupal 7.x.
Using this I have sorted out my problem.