Problem with Distribution in Lightsail and custom domain

0

Hello,

I've successfully attached my domain to the Distribution in Lightsail. DNS

However, when I visit 123d.one, it redirects me to *.compute-1.amazonaws.com. Redirect

Can you help me find what is wrong?

Let me know if you need more details.

Thank you.

已提問 7 個月前檢視次數 237 次
2 個答案
1

Hello.

It looks like I can access it normally in my environment.
It is likely that it took a long time to update due to the length of the DNS TTL, etc.
e

profile picture
專家
已回答 7 個月前
  • Thank you for your answer. I detached the Distribution, so it looks fine now.

    Am I correct in understanding that this is an unusual situation? Is it typical for the URL to appear normal when the Distribution is attached?

  • If you have configured the domain correctly, I don't think the Lightsail domain will be displayed as a URL.

0

Hi,

It sounds like the issue is related to the web server config on your instance.

Please try following this guide https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-editing-wp-config-for-distribution for config updates if using WordPress on your Lightsail instance as an example.

Thanks.

profile pictureAWS
專家
AWS-SUM
已回答 7 個月前

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

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

回答問題指南