Apache: Where to put site configuration settings?

/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/

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Written by kurinchilamp


Website: http://

Leave a Reply

Your email address will not be published. Required fields are marked *

Read previous post:
Ubuntu: Configuring Virtual Hosts to listen on different ports

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...

Close