Apache Virtual Host pointing to wrong DocumentRoot
Solved it! Running sudo apache2ctl -S
returned the following:
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server noelforte.com (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost noelforte.com (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost media.noelforte.com (/etc/apache2/sites-enabled/media.noelforte.com:1)
I decided to disable all sites including the default and just activate the sites that I needed. That resolved my problem.
If someone could explain why noelforte.com
was running as default-000
as seen here:
port 80 namevhost noelforte.com (/etc/apache2/sites-enabled/000-default:1)
that would help shed some light on what may have been misconfigured. Thanks!