diff --git a/web/app/MasterDomain.php b/web/app/MasterDomain.php index 5b63e1f..9aac920 100644 --- a/web/app/MasterDomain.php +++ b/web/app/MasterDomain.php @@ -56,7 +56,7 @@ class MasterDomain if (!empty($apacheBaseConfig)) { file_put_contents('/etc/apache2/sites-available/zzz-'.$this->domain.'.conf', $apacheBaseConfig); - shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'-default.conf /etc/apache2/sites-enabled/zzz-'.$this->domain.'-default.conf'); + shell_exec('ln -s /etc/apache2/sites-available/zzz-'.$this->domain.'.conf /etc/apache2/sites-enabled/zzz-'.$this->domain.'.conf'); } // Install SSL