Skip to content

Domain assigned to Lightsail instance

0

I have just registered a new domain with Amazon Route 53 to associate with a django instance in Lightsail. Apparently everything is well configured. I have the DNS associated with the domain and it is associated with the static IP of the instance. Also the server names are correctly associated. However, when accessing the URL from the browser, it does not redirect to the IP and I see the default domain registration page. Any suggestions on what may be going on?

*The only note is that I am testing with HTTP, since I have not yet configured the SSL certificate, but I understand that it is not necessary for testing.

Domain

asked a year ago273 views
4 Answers
0
Accepted Answer

It seems that your domain and Lightsail instance are mostly configured correctly, but the default domain registration page indicates a possible issue with DNS configuration or web server settings.

The delay could be due to DNS propagation, which can take up to 48 hours. You should ensure the DNS A record in Route 53 is pointing to the correct static IP address of your Lightsail instance, and that the firewall settings allow traffic on port 80 for HTTP.

Additionally, the web server on your instance, such as Nginx or Apache, must be properly configured to serve your Django application. It’s important to verify that the Django app is running on the correct port, and browser caching might also be causing you to see an outdated page.

While testing with HTTP, be sure that there are no redirects forcing HTTPS if you haven't set up SSL yet. Addressing these points should help resolve the issue.

EXPERT
answered a year ago
0

To configure Lightsail with custom domain, follow this - https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-enabling-distribution-custom-domains.html. Otherwise it will only accept traffic on the default domain name

SSL/TLS certificate is requirement to setup custom domain.

AWS
answered a year ago
  • For this purpose, creating a new distribution is mandatory? Firstly I am only interested in having a django instance. For me that is enough I think.

0

Maybe is it necessary to wait a few hours till the changes make effect?

answered a year ago
0

I don't have any hosted zone in amazon route 53 because I manage the domain directly in Lightsail with the DNS and I have already a SSL certificate but I continue watching the default screen in the URL. It is like if changes are not being applied to the domain.

Anyone can help me? I don't know what can I do more.

answered a year 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.