访问会出现这个页面

能正常访问这个页面

第一步由于我在conf.d文件夹下没有找到默认配置文件 所以没有进行更改
第二步按照教程创建了文件

请问这个问题如何解决 谢谢了。
在总配置文件里面加上这个,遍历整个目录的conf文件:
include /etc/nginx/配置文件目录地址/*.conf;然后新建个conf文件:
实例如下:
server {listen 80;server_name www.name.com;#access_log logs/host.access.log main;location / {root /路径/你的站点路径;index default.php index.php index.html index.htm;#rewrite}#错误页的配置error_page 404 /error.html;error_page 500 502 503 504 /50x.html;location = /50x.html {root html;}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000location ~ .php$ {fastcgi_pass 127.0.0.1:9000;fastcgi_index index.php;#用CGI调 PHP程序运行fastcgi_param SCRIPT_FILENAME /WEB/站点目录$fastcgi_script_name; include fastcgi_params;}}