Apache vhost configuration file for domain is empty




  • Avatar
    Edwin C

    Found the website configuration to not load when it is set as default site in IP Address. The site was added to httpd_ip_default.conf correctly. But the file was not loaded by Apache in Ubuntu 16.04 for Plesk onyx. Also noticed that there is no include option for /etc/apache2/plesk.conf.d/server.conf in zz010_psa_httpd.conf . server.conf contains the include option for httpd_ip_default.conf .

    Site works fine when default site is set to None in IP address.

    Comment actions Permalink
  • Avatar
    Bulat Tsydenov

    Hello Edwin,

    Speaking about Plesk installation running Ubuntu 16 OS, when you set some default website for an IP address, the corresponding configuration file is created in this folder:

    # ls -la /etc/apache2/plesk.conf.d/ip_default/

    The configuration files from this folder are loaded in:

    # grep -i Include /etc/apache2/plesk.conf.d/server.conf
    IncludeOptional "/etc/apache2/plesk.conf.d/ip_default/*.conf"

    And this server.conf file is loaded in:

    # grep server.conf /etc/apache2/conf-enabled/zz010_psa_httpd.conf
    Include '/etc/apache2/plesk.conf.d/server.conf'
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request