Well… I would like my domain with no-www to be the only domain of my website shown in the Address Bar but I don’t want other people who type www.asd.as trying to visit my website but returns a 404 or “could not connect to the server” error.

I know that there’s a way to redirect the address and could be more SEO friendly which called “301 redirect”.

But I’m not sure how to do this with my Nginx web server, so I searched on Google to find the solution.
Continue reading