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 Answers
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
EXPERT
answered 7 months ago
  • 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
EXPERT
AWS-SUM
answered 7 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