Hello!

I changed the hoster, and now I have to set everything up (before that, the hoster set everything up).

Installed Lamp, ubuntu 16.04, php 7

The question is how to configure Apache so that it would be sent to /home/user/$sitename , and already in $sitename was an Apache settings file for a specific site.

Before that (on the old hoster) it worked like this.

Google, nothing really nagugl.

Help me please)

  • Include /home/user/*/*.conf ? - MANK
  • It turns out to erase everything in 000-default.conf, to register only the file connection, and it wakes up? - Alex_01
  • Do you have the main Apache file - 000-default.conf? Not httpd.conf? In the main config write what applies to the entire server. Private things, different for different virtual hosts - connected. - MAN69
  • Clear. Thank you) and the main httpd.conf - Alex_01

0