Al intentar crear un host virtual con el archivo misitio puede obtenerse la siguiente respuesta:
error site does not exist
root@elservidor:/etc/apache2/sites-available# a2ensite misitio
ERROR: Site misitio does not exist!
ERROR: Site misitio does not exist!
La solución es añadir al nombre la extensión .conf
Es decir el archivo de misitio debe estar misitio.conf
root@elservidor:/etc/apache2/sites-available# a2ensite misitio.conf
Enabling site misitio
To activate the new configuration, you need to run:
service apache2 reload
Enabling site misitio
To activate the new configuration, you need to run:
service apache2 reload
Cambiar el nombre del archivo misitio por el nombre de su archivo