title: Azure Website 301 Redirect - Where Do I Put It?
body: <p>I want to direct some of my other domains to my primary domain which is hosted at a Windows Azure website.</p>
  <p><em>(For the sake of those that find working with CNAME's and DNS a little &quot;foggy&quot; (like I did) I'm going to layout the details.)</em></p>
  <p>I have the domain <code>www.myDomain.example</code> correctly resolving.</p>
  <p>I now want to point <code>www.myOtherDomain.example to www.myDomain.example</code></p>
  <p>At my registrar I have created a CNAME to point<br/>
  <code>www.myOtherDomain.example to myInternalAzureSite.azurewebsite.net</code>
  <br/>and then successfully configured it in the in the Azure Website domain manager tool.</p>
  <p>Now, when I enter <code>www.myOtherDomain.example</code> into a browser I get the proper web page at <code>www.myDomain.example</code>, however, the address in the browser is still <code>www.myOtherDomain.example</code> not <code>www.myDomain.example</code> as desired.</p>
  <p>I understand the two most desirable ways to accomplish this are either:</p>
  <ol>
  <li>Forward <code>myOtherDomain.example</code> (which costs $ at some registrars)</li>
  <li>Do a 301 permanent redirect</li>
  </ol>
  <p>If I have all that correct, I have found many suggestions of <strong>HOW</strong> to do the 301 redirect, however, I can't seem to figure out <strong>WHERE</strong> to actually put the redirect?</p>