title: URL for public Amazon S3 bucket
body: <p>I have an Amazon S3 bucket that I make public with a policy like this</p>
  
  <pre><code>{
      "Version": "2012-10-17",
      "Statement": [
          {
              "Sid": "Allow Public Access to All Objects",
              "Effect": "Allow",
              "Principal": "*",
              "Action": "s3:GetObject",
              "Resource": "arn:aws:s3:::bucket/*"
          }
      ]
  }
  </code></pre>
  
  <p>My bucket is now visible as
  <a href="http://bucket.s3-website-us-east-1.amazonaws.com/">http://bucket.s3-website-us-east-1.amazonaws.com/</a></p>
  
  <p>I see others refer to their bucket as
  <a href="http://s3-us-east-1.amazonaws.com/bucket/">http://s3-us-east-1.amazonaws.com/bucket/</a></p>
  
  <p>I would prefer the 2nd URL, but it gives an Access Denied.</p>
  
  <p>How can I change my policy to allow the 2nd URL ?</p>