a2ensite from script path a2ensite from script path apache apache

a2ensite from script path


a2ensite's man page doesn't mention it explicitly, but you actually should supply just a name of the site to be enabled, like...

a2ensite testsite.com

... and not the whole path to it.