title: How do I point a domain hosted at Name.com to an AWS S3 Static Website?
body: <p>I'm trying to allow AWS Route 53 to manage a domain I bought on Name.com so I can apply the domain to an AWS bucket that is hosting a static website.</p>
  
  <p>I've attempted to follow the outlined instructions from this post which I'm guessing is out of date (<a href="https://stackoverflow.com/questions/45271678/domain-name-setup-with-aws-s3-bucket-with-static-hosting">Domain name setup with AWS S3 bucket with static hosting</a>)</p>
  
  <ol>
  <li><p>Create the hosted zone with your domain name, <code>domain.com</code></p></li>
  <li><p>Create an A record for your domain. On the right side you'll see a radio button "Alias" choose yes, then click into the target box and wait for your bucket to appear under S3 Website endpoints. (More on this below).</p></li>
  <li><p>Select your bucket and click create.</p></li>
  <li><p>Head over to your registrar, NameCheap and configure the nameservers to use the AWS nameservers in the NS record from your AWS hosted zone.</p></li>
  <li><p>Your bucket name must match the domain name.</p></li>
  <li><p>In the properties tab, you need to enable the static website hosting option and provide your index page.</p></li>
  <li><p>In the permissions tab, click on bucket policy, then click the policy generator link at the bottom.</p></li>
  <li><p>In the policy generator, select S3 as the type of policy</p></li>
  <li><p>Set the principal to <code>*</code></p></li>
  <li><p>Set the action to Get Object
  set the ARN to the ARN for your bucket /*. For example <code>arn:aws:s3:::domain.com/*</code></p></li>
  <li><p>Click Add statement, then generate policy and paste that into the bucket policy and save.</p></li>
  </ol>
  
  <p>But I'm having an issue with last point 7. Applying the generated policy to the bucket policy, it is throwing the following error:</p>
  
  <blockquote>
    <p>Action does not apply to any resource(s) in statement</p>
  </blockquote>