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.
Installing and upgrading help
running multiple sites with a vhost
This discussion has been locked so you can no longer reply to it.