title: Windows Azure: How to 301 non-www url to www for a domain
body: <p>I recently  deployed an Windows Azure application and configured DNS of my domain through DreamHost portal. Now my site is accessible through <a href="http://www.coziie.com" rel="noreferrer">http://www.coziie.com</a>, but not through non-www address.</p>
  
  <p>I read in one of the articles that I should add an A record in DNS settings and point to virutal IP of Windows Azure. How do I get virutal IP of my Windows Azure deployment?</p>
  
  <p>Or is there any better way to 301 redirect all non-www urls to www?</p>
  
  <p><strong>RESOLVED</strong>: I was able to solve this problem by simple configuring a website redirect settings in DreamHost DNS settings. A simple 301 redirect of <a href="http://coziie.com" rel="noreferrer">http://coziie.com</a> to www.coziie.com sorted out the issue. </p>