running multiple sites with a vhost

Re: running multiple sites with a vhost

by chris dennison -
Number of replies: 0

Your vhost statement <VirtualHost *.80> is telling Apache to listen and respond to any requests arriving at the host IP address, regardless of the requested url.  Moodle checks to see if the client's requested address matches the current moodle url and complains if they are different.  I believe you need two unique virtual host statements, one for each domain.