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년 전221회 조회
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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인