ThE IWriteCookie::put_Domain method sets the Domain attribute of the write-only Cookies collection to the specified value.
HRESULT put_Domain(
BSTR bstrDomain //binary string that contains the new domain value
);
You can use this method to specify particular domains for a cookie. This method only applies to the Response.Cookies collection.