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 年前247 查看次数
1 回答
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
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容