R2 Bucket 404 for custom domain, but working on r2.dev

i upload a object via wordpress site, and the custom domain URL. return 404, but r2.dev url work fine, i can see object in r2 Dashboard
13 Replies
Chaika
Chaika13mo ago
Make sure you're not appending the bucket name to your custom domain. ex. if your object name is cookies/pineapple.png, you would visit it via your r2 bucket custom domain https://r2-bucket.example.com/cookies/pineapple.png
Saurabh
SaurabhOP13mo ago
i am using proper structure, and i am copying the URL from r2 dashboard
Chaika
Chaika13mo ago
That works for me and Discord
No description
Chaika
Chaika13mo ago
Perhaps local cache, or CF Cache?
Saurabh
SaurabhOP13mo ago
No description
Saurabh
SaurabhOP13mo ago
i am getting this page how can i fix this/
Chaika
Chaika13mo ago
That looks like dns cache? Did you have the domain pointed at something else/recently changed it to point at r2?
Saurabh
SaurabhOP13mo ago
yes couple hours ago
Chaika
Chaika13mo ago
https://dnschecker.org/#A/cdn.usinsightnews.com Looks like most DNS Resolvers updated besides a few ISP Resolvers
DNS Checker
DNS Checker - DNS Check Propagation Tool
Check DNS Propagation worldwide. DNS Checker provides name server propagation check instantly. Changed nameservers so do a DNS lookup and check if DNS and nameservers have propagated.
Chaika
Chaika13mo ago
You could try clearing your DNS Cache (Depends on OS) and switching your DNS Resolver to 1.1.1.1: https://1.1.1.1/dns/ Those are local changes though, eventually dns cache will expire if you wait long enough, might be a bit though (few hours, prob, some ISPs ignore record the ttl of the record/max time it should be cached, and cache for longer)
Saurabh
SaurabhOP13mo ago
thanks, @Chaika i will try an test on my local, and wait for dns cache to expire @Chaika , thank you for help, this issue was dns cache, and its resolved
techysiddhant
techysiddhant4mo ago
I'm having a similar kind of issue with the r2 bucket i added a custom domain, and now when I'm trying to access the object it gives me an SSL error can you help me with this?
No description
Want results from more Discord servers?
Add your server