title: Get current domain
body: <p>I have my site on the server <code>http://www.myserver.uk.com</code>.</p>
  <p>On this server I have two domains:</p>
  <pre class="lang-none prettyprint-override"><code>one.com and two.com
  </code></pre>
  <p>I would like to get the current domain using PHP, but if I use <code>$_SERVER['HTTP_HOST']</code> then it is showing me</p>
  <pre class="lang-none prettyprint-override"><code>myserver.uk.com
  </code></pre>
  <p>instead of:</p>
  <pre class="lang-none prettyprint-override"><code>one.com or two.com
  </code></pre>
  <p>How can I get the domain, and not the server name?</p>