I have an Ubuntu 14.10 computer that is used for local website testing, it is not serving to the internet. On it, I have seven websites set up. However, when I access two of the seven, I get the
Apache2 Ubuntu Default Page instead of my own index page.
As far as I can tell, I set up all seven using the exact same process, so I don't know what these two are missing. Also, in my Apache logs directory, I have two log files,
access for each of the two misbehaving sites, but all of them are empty. When I restart the
apache2 service, there are no errors. I have retraced my steps multiple times and I can not see any difference between the working sites and the non working sites.
What options do I have for diagnosing this problem? Can I force more verbose error logs somehow? Is there another log somewhere that I can reference?
Here is an example of a
.conf file for one of the malfunctioning sites:
<VirtualHost *:80> ServerName www.local_example.com ServerAlias local_example.com ServerAdmin [email protected] DocumentRoot /var/www/Websites/example.com <Directory /var/www/Websites/example.com/> Options Indexes FollowSymLinks MultiViews # pcw AllowOverride None AllowOverride All Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # Commented out for Ubuntu #RedirectMatch ^/$ /apache2-default/ </Directory> ErrorLog /home/example/Apache_Logs/local_example.com_error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /home/example/Apache_Logs/local_example.com_access.log combined ServerSignature On </VirtualHost>