How do I redirect everything on www.site.com
to site.com
?
I use MUP to deploy my application to Digital Ocean. So far I am thinking of either adding a CNAME
for www (couldn't get that to work), or add a meteor package that redirect server side (something like wizonesolutions:canonical), or SSH
into the server and change NGINX manually.
What is the recommended approach for doing this?