Find which config file Apache uses to find virtual host

Posted by eje211 on Super User See other posts from Super User or by eje211
Published on 2011-06-26T22:03:42Z Indexed on 2011/06/27 0:24 UTC
Read the original article Hit count: 671

Filed under:
|

I have a rather complicated Apache setup: some config files have to be manually written and some have to be automatically generated. So far, I've had no problems. But now, I've just tried to set a site at:

newsubdomain.mydomain.com

and Apache directs it to the data for:

www.someotherdomain.com

I've looking into all the many config files and can't find anything wrong. All is pointing where it should and no definitions, as far as I can tell, overlap.

So what I'm wondering is: is there a way to see which config files or config instructions Apache is using to match a URL to a directory?

Tanks.

© Super User or respective owner

Related posts about apache

Related posts about virtual-host