Hey guys I had not added Cname record during droplet creation.(there I just added A name record)
After two moths, I realised my site should also open with www version. ( If somebody try to visit my url with www version)
That’s I just added Cname record on droplet>networking>> domain.
But when I try to visit my site with www. it is showing Nginx 404 error - Is there any server block configuration.