SPWeb.NonHostHeaderUrl property
SharePoint 2013
Gets the full url non-isolated url of the Web site.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Gets the full url non-isolated url of the Web site.