a2ensite

Enable an Apache virtual host on Debian-based OSes. More information: <https://manpages.debian.org/latest/apache2/a2ensite.8.en.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y apache2
Ubuntu
RUN apt-get update && \ apt-get install -y apache2
Alpine
RUN apk add apache2
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y apache2
Raspbian
RUN apt-get update && \ apt-get install -y apache2
click the source code to copy install a2ensite on any operating system with command-not-found.com