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 年前檢視次數 236 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南