HTTPD VirtualHostconfiguration无法正常工作

得到了一个新的VPS,安装了一切,有时间来设置虚拟主机

#vim /etc/httpd/conf.d/project.conf <VirtualHost *:80> DocumentRoot "/var/www/html/project.net/wordpress" ServerName project.net ServerAlias www.project.net Options -Indexes +FollowSymLinks +MultiViews </VirtualHost> 

要求所有授权在主httpd文件中设置。

 #systemctl restart httpd 

project.net是可访问的,但显示默认的httpd页面

系统信息:

 Linux dev 2.6.32-042stab116.2 #1 SMP Fri Jun 24 15:33:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux with Apache/2.4.6 (CentOS) Server built: Oct 19 2017 20:39:16 

解决使用

 systemctl restart php71-php-fpm 

好像我正在使用代理:fcgi处理程序php-fpm服务也需要重启。