Directory with Location as Sub Domains

Hello,

Is it possible to create a directory such that all data will be stored in the main installation e.g. some-domain.com and people can also browse or search the listings from there.

However, they can also go to a specific location for e.g. mumbai.in.some-domain.com which will then show all the listings from Mumbai, India only.

Further, they will then be able to perform a search on specific areas in Mumbai e.g. Fort, Bandra, Andheri etc…

I can’t recall, but I have seen this is some local website but its targeted to US & Canada only.

Thanks,

Alok