I'm running an apache server at home, and I'm having a problem with virtual hosts. I have two virtual hosts in the config file; fallen-phoenix.com and ash-can.com. When I connect to them internally (using an internal DNS server that resolves to the apache server's internal IP address), they work fine. However, if I try to connect from the outside, it looks in the default directory /apache/htdocs insteady of the directory of the virtual host.
Here is some of my httpd.conf file:
CustomLog logs/fallen-phoenix.com-access_log common
CustomLog logs/ash-can.com-access_log common
What should I do?