title: HttpContext.Current.Request.Url.Host what it returns?
body: <p>I have a local application which has a path:</p>
  <pre><code>http://localhost:950/m/pages/Searchresults.aspx?search=knife&amp;filter=kitchen
  </code></pre>
  <p>but when this goes to integration environment or perhaps the production, it will be something like</p>
  <pre><code>http://www.someshopping.com/m/pages/SearchResults.aspx?search=knife&amp;filter=kitchen
  </code></pre>
  <p>For some cases I need to pass just:</p>
  <pre><code>www.someshopping.com
  </code></pre>
  <p>to my XSLT file and in one of the function I'm using this:</p>
  <pre><code>string currentURL = HttpContext.Current.Request.Url.Host;
  </code></pre>
  <p>this returns me &quot;<strong>localhost</strong>&quot; in local environment. Will the same code return me:</p>
  <p><strong><a href="http://www.someshopping.com" rel="nofollow noreferrer">www.someshopping.com</a></strong> in production  (I DO NOT need <strong>http://</strong>)</p>
  <p>just don't want to take any chance. So asked this silly question.</p>