My Default domain in Lightsail Distribution not working

0

I can't access the Default domain: d238n2uoy6t5ct.cloudfront.net. If it's not working, then when I point my domain to the default domain, it probably won't work either.

I checked on https://www.uptrends.com/tools/cdn-performance-check and it shows a 302 Http Protocol Error.

On Safari: Too many redirects occurred trying to open "https://d238n2uoy6t5ct.cloudfront.net". This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

Does anyone know how to resolve this issue?

Thank you!

1 Answer
0

In the case of WordPress, I think the redirect loop is occurring because the WP_SITEURL is different between the domain name of the distribution and the domain name of Lightsail.

As a workaround, try editing wp-config.php following the procedure in the following document.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-editing-wp-config-for-distribution

profile picture
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions