Reputation: 3070
I was previously hosting my static website on S3, but I lost access to that account when my Android phone with the 2FA on it died, and customer support has not accepted my proof of ID/address.
I have another AWS account, but when I tried to have it host my domain as a static website, the bucket was not available (as my other account had created it on S3). The Hosting a Static Website on Amazon S3 documentation doesn't mention any way of hosting a static domain if the bucket name does not match the domain.
How can I fix this?
Upvotes: 2
Views: 994
Reputation: 270104
Amazon S3 bucket names are globally unique across all worldwide regions. If a bucket exists with a given name, that name cannot be used again until the bucket is deleted.
When hosting a static website on Amazon S3 with your own domain name, the bucket name must be the same as the domain, eg www.example.com
.
It appears that your bucket name is still "in use" by your old account. You'll either need to:
You should try contacting AWS Customer Service (billing & account enquiries).
Upvotes: 2