skunkwerk
skunkwerk

Reputation: 3070

S3 static website bucket not available

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

Answers (1)

John Rotenstein
John Rotenstein

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:

  • Regain access to that account (perhaps by proving knowledge of the credit card and verifying an email address), or
  • Requesting that the bucket be deleted because you own the matching domain name

You should try contacting AWS Customer Service (billing & account enquiries).

Upvotes: 2

Related Questions