Sounds like they put in a DNS entry listing the domainname.com to the IP address of the server. This usually tells the server to look for domainname.com and when it does not see it then it goes to the listed www.domainname.com automatically.

It usually takes 12-72 hours for the DNS registry to update through out the world.