Hi Rajasekhar,
Are all the 10 hostnames pointing to the same Layer7 Gateway? I think the Internal Virtualization instructions provided by Stephen should work. In the Global policy, you will compare the host name and then do a resolve URI to the specific policy corresponding to that host name.
Pseudo code would be like this -
Compare ${request.url.host} is equal to abc.n.com
Resolve Service with URI /abcapi (Service specific to abc.n.com)
Compare ${request.url.host} is equal to bcd.h.com
Resolve Service with URI /abcapi (Service specific to bcd.h.com)
Let me know if this meets your requirement.
Thanks,
Atul