title: Difference between url with www and without www in Rails app
body: <p>I have a Rails app and the client needed to add a google verification code, which is just an html file that he needs available in the root. In order to do that, I added the html file to the public folder and the file is now available at </p>
  
  <pre><code>examplewebsitename.com/googlee87hx82suhj9383.html
  </code></pre>
  
  <p>But if I go to</p>
  
  <pre><code>www.examplewebsitename.com/googlee87hx82suhj9383.html
  </code></pre>
  
  <p>I get 404.</p>
  
  <p>The client says google will only find this file if is in www.example....</p>
  
  <p>Where should I tackle this issue? Should the client change the default address in his Google Analytics account? Is there something in the Rails App I should do? Or is this a domain issue that should be fixed from the domain account?</p>
  
  <p>The app was built in Rails 4 and is hosted on Heroku but has it's own custom domain.</p>
  
  <p>Thanks!</p>