I have a Django website in DigitalOcean, everything works fine expect routing example.com to www.example.com
I normally fix this using CNAME
as the following, and all answers I have found also provide this, but it doesn't work in my case:
Hostname Alias Of TTL(Seconds)
www @ 43200
This normally works in GoDaddy, but in DigitalOcean the www.example.com
takes me to the welcome to Nginx page.
So how can I get the www.@.com
to display the website?