All config files in /etc/apache2/sites-available, sites-enabled, conf-available, and conf-enabled need to have extension “.conf”
Folder “conf.d” is deprecated, use conf-enabled instead
Place a config file in conf-available with the directory path to your document root where you keep your own sites, if you do not keep them in the standard path /var/www. Replace “order allow,deny” statements with “Require” statements in all your VirtualHost definitions: