title: ** server can't find hostname.com nxdomain
body: <p>I am trying to set up an apache web server on my vm and im running into some issues. When I do an 'nslookup' on the hostname of the machine this is what I get:</p>
  
  <pre><code>nslookup rhel64.xxxxx.xxxxx.com
  Server:         xxx.xxx.32.1
  Address:        xxx.xxx.32.1#53
  
  ** server can't find rhel64.xxxxx.xxxxx.com: NXDOMAIN
  </code></pre>
  
  <p>I'm sure this is a common problem but I'm not sure how to fix it. It seems that dnsmasq can't resolve the hostname. Adding the hostname to /etc/hosts doesn't fix it.
  Running on an RHEL6.4 machine.
  Thanks in advance.</p>