[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 virtual host

Hi Russell,

On Mon, Feb 03, 2020 at 06:59:55AM +0000, Russell L. Harris wrote:
> I receive the following error message when attempting to enable a
> virtual host (apache2 in Debian 10):
>    root@penelope:/etc/apache2/sites-available# a2ensite domain1.com.conf
>    bash: a2ensite: command not found

Your shell is failing to find the "a2ensite" command. Normally it is
found at /usr/sbin/a2ensite and is part of the apache2 package. What
do the following commands say?

(do these as root, since that seems to be how you are working)

# which a2ensite
# ls -la /usr/sbin/a2ensite


https://bitfolk.com/ -- No-nonsense VPS hosting

Reply to: