[DigitalOcean] hostname having "www" in A records showing blank page

Thanks a lot for the correction @JimPas. I have configured Setting up HTTPS support with Let's Encrypt. Now www.hardwaremana.community is showing green padlock but hardwaremana.community is showing Welcome to nginx!. What went wrong? and kindly share any resources to configure it. Thanks!!

1 Like

Pointing a DNS entry at an IP isn’t a redirect. Nginx doesn’t have an entry for the second hostname, it’s not going to magically resolve.

You can either go down the route of manually adding redirects to your config, or using an external service.


Thanks for the suggestion.

Are you talking to modify app.yml or somewhere else at Host side (DigitalOcean)?