Lightsail Django python Linux

0

I'm a Newbie. setup the views.py, pointed both urls.py 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
已提問 2 年前檢視次數 224 次
1 個回答
0

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?

AWS
管理員
已回答 2 年前
  • 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.

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

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

回答問題指南