I’m using the hugo-coder theme on my website, using DigitalOcean and Nginx. It seems to work fine when I go to my website as-is however when I go to the same website with the www prefix, the styling is gone with the content intact. From what I understand it sounds like the www prefix should be a 404 page but it still links to my content. I’m not sure if this is a Hugo problem or Nginx where I just need to configure Nginx to redirect domains? I tried searching and haven’t found anything relevant to my problem. Here’s a link to the built Hugo code: https://github.com/n8patty/n8patty
Thank you for any help!