Lightsail Django python Linux


I'm a Newbie. setup the, pointed both files correctly. created example.html. I setup staticIp and DNS zone. Everything works. when I run server and type ip address, I get my example.html page, as expected. But when I type my domain name in the browser, I get the index.html startup page. my Question: How do I get the domain name to resolve to the instance (my example.html page, rather than, the index.html startup page ? appreciate any help or comments, Thanks

profile picture
asked 2 months ago23 views
1 Answer

If all configuration is correct, it sounds most likely to be a cacheing issue. Have you tried clearing your local browser cache as well as the Django server's?

answered 2 months ago
  • Thank Andy, but clearing the cache did not work. As for the Django server, I don't have a distribution set up. So I was not able to clear cache.

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