title: Is the HTTP_HOST server variable always defined?
body: <p>Is the server variable <code>HTTP_HOST</code> always defined for all servers, or for example in IIS is defined with other name or even is not defined at all?</p>
  
  <p>Also, that value is always defined? Or some host they don't define that value? Is there any other way to retrieve that value?</p>