Lightsail Distribution not Resolving

0

Hello,

I have a Lightsail distribution using a bucket as an origin for my Wordpress instance.

I've set an A record for my apex domain (rionomada.com) pointing to my distribution. I also set a CNAME record for www.rionomada.com pointing to the default domain (xxxxxxxx.cloudfront.net).

Nothing works.

I have an SSL certificate for both domains (rionomada.com and www.rionomada.com) which appears valid and in use.

The setup seems to be fine, but even if I go directly to the xxxxxxxxx.cloudfront.net domain, it won't resolve and I get the following error:

<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>B0EYV5RM142PFS93</RequestId> <HostId>p9h5yZ05E1UqUWKppER2q2s1YuRaGvIIgl+jear2oB6oS8AGbTGbOFrYYVt0rjLqOg4Vd2LsFyw=</HostId> </Error>

I haven't touched the wp-config.php file at all, but I did set the Let's Encrypt certificate to automatically turn HTTP requests to HTTPS.

Has anyone had this issue as well? Any help you can provide will be greatly appreciated!

Thanks, Luis

  • Lightsail distribution using a bucket as an origin for my Wordpress instance

    If the distribution is pointing to the bucket, how would that serve your WordPress site? Are you using a tool to export a static site from WordPress to that bucket?

    Check with your registrar that it's pointing to the correct set of DNS records. Every time you create a DNS record in Lightsail the NS servers change, so you would need to update that if you've created a new Hosted Zone

1개 답변
0

Update: the domains are apparently working according to dnschecker.org, however there is not redirect from HTTP to HTTPS and I still keep getting the same error either with the apex domain or the www subdomain.

답변함 2년 전
  • Hello, did you ever figure this out? I am experiencing the same thing with my Lightsail distribution.

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

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

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

관련 콘텐츠