title: How should I configure my DNS records to direct all traffic from one domain to another?
body: <p>I have a doman, <code>mydomain.com</code> as well as <code>mydomain.biz</code> and would like the the latter to be a synonym for the former: whenever a user enters <code>www.mydomain.biz</code> they are taken to <code>www.mydomain.com</code>. </p>
  
  <p>I have everything working for <code>mydomain.com</code> and thought, from my <a href="https://stackoverflow.com/a/12628929/656912">limited understanding</a> that a <code>CNAME</code> record would accomplish what I'm trying to do, so I have</p>
  
  <pre><code>NS     mydomain.biz.    =  (nameservers that work fine)
  SOA    mydomain.biz.    =  (values that work fine)
  CNAME  *.mydomain.biz.  =  mydomain.com.
  </code></pre>
  
  <p>and when I <code>host mydomain.biz</code> I get</p>
  
  <pre><code>www.mydomain.biz is an alias for mydomain.com.
  </code></pre>
  
  <p>followed by other information that exactly matches what I get with <code>host mydomain.com</code>. Yet, any attempt to navigate to <code>www.mydomain.biz</code> fails.</p>
  
  <p>I'm also perplexed by what I see when I look at <a href="https://www.whatsmydns.net/#NS/" rel="nofollow noreferrer">propagation</a> of my NS records. Checking for <code>mydomain.biz</code> gives the nameservers specified above, but checking for for <code>www.mydomain.biz</code> gives the values specified (elsewhere) for <code>mydomain.com</code></p>
  
  <p>Am I not going about this the right way? How should I configure my DNS records to direct all traffic from one domain to another.</p>