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.

2 Antworten
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
EXPERTE
beantwortet vor 7 Monaten
  • 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
EXPERTE
AWS-SUM
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen