Without knowing the specifics of your setup I would suggest determining the correct site in the same way that Sitecore's site resolver does:
var url = System.Web.HttpContext.Current.Request.Url;
var siteContext = Sitecore.Sites.SiteContextFactory.GetSiteContext(url.Host, url.PathAndQuery);