I installed Ubuntu 14.04 LTS. Ubuntu seems to come with Apache2 but in the
apache2 folder there no
Why is the file lacking and what do I have to do to create it?
Per https://help.ubuntu.com/lts/serverguide/httpd.html all configuration options have all been moved to subdirectories.
httpd.conf: historically the main Apache2 configuration file, named after the httpd daemon. Now the file does not exist. In older versions of Ubuntu the file might be present, but empty, as all configuration options have been moved to the below referenced directories.
Check the reference link for the name and description of each subdirectory.
this File httpd.conf is still exits in RedHat , Centos , Ferodra however Now This file does not exist in ubuntu.