title: Url forwarding with zone file
body: <p>I want to forward a url so that if you type www.example.com in the address bar, you are forwarded to www.test.com/test.php.</p>
  
  <p>What I have done is added a cname record to my zone file.</p>
  
  <p>So I have:</p>
  
  <pre><code>www  IN CNAME www.test.com/test.php.
  </code></pre>
  
  <p>This isn't getting the job done.</p>
  
  <p>I have read quite a bit and am still having trouble grasping how the whole dns process works.  My understanding is that a CNAME will just cause your domain to use another domains zone file.  If this is the case, then a CNAME wouldn't be what I am looking for.</p>
  
  <p>If anybody could point me in the right direction, or give me a brief overview of the process in url forwarding, it would be greatly appreciated.</p>
  
  <p>Thanks</p>