Reputation: 1764
As titled
Is it possible to have 2 same buckets (hosting static HTML files and the bucket name is this.bucket.com) at 2 different projects (say testing and prod)?
And if this is possible, how can i make it so that, if the URL is a testing URL, it will go to the bucket at testing project, and if its a PRO URL, it will redirect to the bucket at prod project.
Upvotes: 2
Views: 1005
Reputation: 941
It's not possible to have 2 buckets of the same name, it must be globally unique. If the bucket name is already used somewhere else then you'll get an error message.
Upvotes: 4