Pointing site to a domain not working

1.What I did is renaming the sites\site1.local directory to sites\www.mydomain.com t
2.Edited the config\nginx.conf file. by replacing site1.local in many of the configuration directives to www.domain.com1.
3.Then did sudo service nginx reload and sudo service nginx resart.

Still i’m not able to open my site on my domain name.

.

@Varna,

please check if the symbolic link is available for config/nginx.cofig in /etc/nginx/conf.d directory,

You can also check if the nginx config is correct or not by running the nginx -t command.

Thanks, Makarand

@makarand_b
i didnt understood your 1st option i.e symbolic link
i executed nginx -t cmd, it is saying syntax is ok & test is successful

@Varna,

Please check Setup Production