what's the different btween conf.d and sites-* ?

January 6, 2014 3.8k views
using nginx there's a config file in my conf.d dir called blog.xxx.com , and my blog runs well. but when i add a virtual host file www.xxx.com in sites-* dir point to a .html file, i did it like the steps in this webpage: (https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3) i type www.xxx.com , the browser also show me my blog site . i deleted the default file both in conf.d and sites-* could you help me . i am a novice
3 Answers
You can't use both conf.d and sites-enabled, you can put your virtualhost in either conf.d or sites-enabled, not both.
thanks, but is there any difference between conf.d and sites-enabled ?
Have another answer? Share your knowledge.