Answer the question
In order to leave comments, you need to log in
The virtual host does not rise, what's the problem?
Good afternoon, virtual host does not rise.
Onboard Ubuntu 16.04 LTS.
From the packages, apahe2 php7.0 php7.0-fpm php7.0-fastcgi mysql-server-5.7 mysql-client-5.7 was installed.
config file
<VirtualHost *:80>
ServerName test.host
ServerAlias www.test.host
ServerAdmin [email protected]
DocumentRoot /var/www/test.host
ErrorLog ${APACHE_LOG_DIR}/th_error.log
CustomLog ${APACHE_LOG_DIR}/th_access.log combined
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/run/php/php7.0-fpm.sock|fcgi://localhost/var/www/test.host
</VirtualHost>
127.0.0.1 localhost test.host
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question