0

Got a new VPS, installed everything, time to setup a virtual host

#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>

Require all granted is set in the main httpd file.

#systemctl restart httpd

project.net is accessible but displays the default httpd page

System info:

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
Thomas
  • 4,225
  • 5
  • 23
  • 28

1 Answers1

0

RESOLVED using

systemctl restart php71-php-fpm

Seems like if i'm using the proxy:fcgi handler the php-fpm service needs a restart too.