User-481311247 posted
1. Use config file to store server name and update/insert/provoide same name while query to database. So that you can understand from which website this request is comming from. You can pass this server-name as addition parameter to sp.
or
2. You can differentiate with the basis of request URL.