When I view the "Websites" section in the OSX Server app, I am able to manage what appear to be virtual hosts. However, when I go to check Apache's vhosts configuration, there doesn't seem to be anything configured. Is there some kind of magic going on here, or are the changes made via the Server app affecting files somewhere else? Can anyone shed some light on how OS X manages the built in Apache installation?
Since you mention Server App, I assume your OS X is Mountain Lion. The actual apache config is at the following location
Virtual host config is in
You are probably looking at
/etc/apache2/, which is not being used.
It's worth mentioning that the configuration files for the default sites in macOS Server (HTTP, port 80, and HTTPS, port 443) are located here:
On my Mac mini, there are files for 80 and 443 but they are not used.