You could get the IIS site name using the GetSiteName method. System.Web.Hosting.HostingEnvironment.ApplicationHost.GetSiteName(); The GetSiteName is introduced in the .NET Framework version 3.5. Related tutorials: The Web service life cycle in ASP.NET How to document web service in ASP.NET in C# How to create an ASP.NET web-page client for a web service in C# How to manage the ASP.NET web service data caching in VB.NET