Not able to attach a SSL certificate to a Lightsail distribution

0

I had created a Lightsail instance "instance1" followed by creating a static IP address and a distribution + SSL certificate for this distribution. Then I used a domain name to point to the CNAME entries provided by this SSL certificate. This worked great and I was able to access this instance via the custom domain name.

I forgot the password of the app that was running on instance1, so I ended up deleting the instance and the distribution. I kept the static IP though.

I created another Lightsail instance "instance2" and followed the process above. I am able to access the app of this instance via the given cloudfront address with HTTPS protocol.

The problem I have is that whenever I try to enable the custom domain for this distribution I get the following error:

"AttachCertificateToDistribution[us-east-1]

Alternate Domain Names [x,y] have one or more parameter that is already associated with a different resource.

InvalidInputException"

so, I can access the instance with (for example) https://d827Of.cloudfront.net. When I try to access the https://customdomainname, it still points to the content from the previous instance1, which has since been deleted.

So, what do I need to do to enable custom domain with this Lightsail distribution?

Thank you,

A Perplexed user

1개 답변
0

Hello,

Thanks for choosing Lightsail!

Could you please contact AWS support to cut Lightsail a ticket for further assistant? Lightsail engineer can share some info of your personal account in the tt.

Thanks, Yiran

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠