OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

S3 Bucket not found behind cloudflare CNAME

  • Thread starter Thread starter Jason McFarlane
  • Start date Start date
J

Jason McFarlane

Guest
Problem: Using my CNAME on cloudflare (assets.my-site.com) I am trying to point to a public AWS S3 bucket. If I navigate to the AWS hostname I can clearly see it working in multiple browsers (public read access is correct) however when I try to access via assets.my-site.com (cloudflare CNAME) I get the error

Code:
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist</Message>
<BucketName>assets.my-site.com</BucketName>

Im pretty sure the issue is with this <BucketName>assets.my-site.com</BucketName> that somehow amazon is picking up assets.my-site.com as the hostname of the bucket instead of the correct S3 target

enter image description here
<p><strong>Problem:</strong> Using my CNAME on cloudflare (assets.my-site.com) I am trying to point to a public AWS S3 bucket. If I navigate to the AWS hostname I can clearly see it working in multiple browsers (public read access is correct) however when I try to access via assets.my-site.com (cloudflare CNAME) I get the error</p>
<pre><code><Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist</Message>
<BucketName>assets.my-site.com</BucketName>
</code></pre>
<p>Im pretty sure the issue is with this <code><BucketName>assets.my-site.com</BucketName></code> that somehow amazon is picking up assets.my-site.com as the hostname of the bucket instead of the correct S3 target</p>
<p><a href="https://i.sstatic.net/uNZYQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uNZYQ.png" alt="enter image description here" /></a></p>
Continue reading...
 

Latest posts

P
Replies
0
Views
1
Paras Chouhan
P
Top