Keep getting 404 on some URLs

Having followed the guide to setup django, postgres and nginx in digitalocean, am get different results for different urls. Am using ubuntu 20 and python 3.10

<IP>:8000 => is working perfectly well
<IP> => 404 Not Found
<https://DomainName> => Showing the html page but Not showing the static files
<https://www.DomainName> => 404 Not Found

Where am I messing up??

Well unless you use web standards which ports are 443 for https and 80 for http you need to manually specify the port your service is located.

Back to Top