- Newest
- Most votes
- Most comments
For anyone else out there using Lightsail containers with CloudFlare - this is what worked for me...
- Create the certificate request
foo.bar.com (example only)
Record type: CNAME
Name: _d26788eb719c59375c5579553632c805.foo.bar.com.
Value: _44k8a474c783434728fb1tr37ca79b0f.tgpjrkjmjp.acm-validations.aws.
- Add the following records to your DNS zone
CNAME
Subdomain Maps to
_d26788eb719c59375c5579553632c805 _44k8a474c783434728fb1tr37ca79b0r.tgpjrkjmjp.acm-validations.aws
CNAME
Subdomain Maps to
foo foo-bar-com.1ljucgre6u7xq.us-east-1.cs.amazonlightsail.com
- Add the following record to CloudFlare
CNAME
Name Target Proxy Status
foo foo-bar-com.1ljucgre6u7xq.us-east-1.cs.amazonlightsail.com DNS Only (grey cloud)
-
Navigate to foo.bar.com, expect an error at this point because you haven't attached a cert
-
Check the status of your certificate, it should validate at this point - if it does not, try adding the following record to CloudFlare
CNAME
Subdomain Maps to Proxy Status
_d26788eb719c59375c5579553632c805.foo.bar.com _44k8a474c783434728fb1tr37ca79b0r.tgpjrkjmjp.acm-validations.aws DNS Only (grey cloud)
6. Attach the certificate
- Navigate to foo.bar.com once more, and HTTPS should work with your custom domain
Relevant content
- asked 2 years ago
- asked 4 years ago
- asked 6 months ago
- Accepted Answerasked 22 days ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago