/etc/apache2/conf.d/ and /etc/apache2/sites-enabled are the two locations from where configuration settings are ready by apache
Apache configuration file has two lines (listed below) in /etc/apache2/apache2.conf which does that
# Include generic snippets of statements
Include /etc/apache2/conf.d/
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Files to check
- /etc/apache2/ports.conf
- /etc/apache2/apache2.conf
Consider the ServerName to be "myserver". Check /etc/hosts for an entry
127.0.0.1 localhost
192.168.1.100 myserver.com myserver
...
(more…)