You should have the A record for MYCOMPANY.COM point to the webserver, which should be configured to understand that. Then WWW should be a CNAME to the first A record.